You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fabian-flassig edited this page Jun 24, 2020
·
2 revisions
Adds a single element or a table of elements to an existing group.
Similar to the Attributes -> Group function in the PYTHA user interface.
pytha.set_element_group(element, group)
Parameter
Type
Description
element
element_handle or {...}
A single element handle or a table of element handles
group
element_handle
An element handle to a group or nil
If an element already belongs to a different group, it will be removed from there and assigned to 'group'. By passing nil as group, the element will only be removed from its current group and not assigned to any new group.
Additional information
Groups may contain subgroups, but are purely restricted to a tree-like structure.