pytha.create_element_ref_point - pytha-3d-cad/pytha-lua-api GitHub Wiki
Creates a new reference point for a single element or a table of elements.
Similar to the Attributes -> Reference points -> Define function in the PYTHA user interface.
pytha.create_element_ref_point(element, coordinate)
| Parameter | Type | Description |
|---|---|---|
element |
element_handle or {...} |
A single element handle or a table of element handles |
coordinate |
{x,y,z} |
Coordinate at which the reference point will be created |
Return value
| Type | Description |
|---|---|
number |
The number of reference the last element in the list has assigned. |
See also:
pytha, element handles, set_element_attributes, get_element_ref_point_coordinates