pytha.get_element_common_group - pytha-3d-cad/pytha-lua-api GitHub Wiki
Gets the smallest group containing all given elements.
pytha.get_element_common_group(elements)
| Parameter | Type | Description |
|---|---|---|
elements |
element_handle or {...} |
A single element handle or a table of element handles |
Return value
| Type | Description |
|---|---|
common_group |
An element handles of the group. nil if no such group exists. |
Remarks
common_group may well be included in elements, as this allows to find the topmost group of e.g. an imported pyo.
See also:
pytha, Attributes Functions, Element Handles, Groups, get_group_members, create_group, get_element_parent_group