Model.ModifySectionHandle#
- Model.ModifySectionHandle(xold_coord, yold_coord, zold_coord, xnew_coord)#
Updates the section shape updating the handle position.
- Parameters:
xold_coord (Entity) – x-coordinate of the old handle position.
yold_coord (double) – y-coordinate of the old handle position.
zold_coord (double) – z-coordinate of the old handle position.
xnew_coord (double) – x-coordinate of the new handle position.
Example#
Modify the section position updating the handle position#import hm import hm.entities as ent model = hm.Model() model.ModifySectionHandle( xold_coord=7345.06626, yold_coord=1077.25964, zold_coord=1419.12497, xnew_coord=7334.93373 )