pytha.move_element - pytha-3d-cad/pytha-lua-api GitHub Wiki
Moves a single element or a table of elements by a given distance.
Similar to the Part Tools I -> Move function in the PYTHA user interface.
pytha.move_element(element, distance)
| Parameter | Type | Description |
|---|---|---|
element |
element_handle or {...} |
A single element handle or a table of element handles |
distance |
{x,y,z} |
Displacement in x,y,z |
Additional information
If element contains element handles to groups, all members of these group will be moved as well.
See also:
pytha, Part Tools Functions, Element Handles, Groups, copy_element, rotate_element