pytha.create_group - pytha-3d-cad/pytha-lua-api GitHub Wiki
Creates a new group and puts a single element or a table of elements into this group.
Similar to the Attributes -> Group function in the PYTHA user interface.
pytha.create_group(element [,options])
| Parameter | Type | Description |
|---|---|---|
element |
element_handle or {...} |
A single element handle or a table of element handles |
options |
{...} |
Optional: a table that may contain the following option: |
options.name |
string |
Name of the group to create |
Return value
| Type | Description |
|---|---|
element |
element_handle to the newly created group |
Additional information
Groups may contain subgroups, but are purely restricted to a tree-like structure.
See also:
pytha, Attributes Functions, Element Handles, Groups, dissolve_group