Skip to content

pytha.set_group_closed

fabian-flassig edited this page May 18, 2026 · 1 revision

Sets the closed-state properties for groups.

Similar to the properties in the Attributes -> Edit Group dialog in the PYTHA user interface under "Keep closed".

pytha.set_group_closed(element, properties)
Parameter Type Description
element element_handle A single element handle to a group
properties {...} Table containing the following keys
properties.parts_list boolean Keep group closed in parts list
properties.functions boolean Keep group closed in functions
properties.geometry boolean Treat group geometry as rigid

Version Support:

Minimum PYTHA Version: V26

See also:

pytha, element handles, get_group_closed

Clone this wiki locally