pytha.get_element_ref_point_coordinates - pytha-3d-cad/pytha-lua-api GitHub Wiki

Gets the reference point coordinates for a single element or a table of elements.

pytha.get_element_ref_point_coordinates(element) 
Parameter Type Description
element element_handle or {...} A single element handle or a table of element handles

Return value

Type Description
{{x,y,z},...} A table of point coordinates

Remarks

The function will return a list of all reference points of element. It is recommended to only pass a single element handle to the function in order to clearly identify the coordinates of reference point 1/2/3... of element.

See also:

pytha, element handles, set_element_attributes, create_element_ref_point