ElementGroupElement
Canonical path: NemAll_Python_BasisElements.ElementGroupElement
Bases: BasisElement, AllplanElement
Representation of the element group in Allplan.
Element group can be used to organize model elements of any kind (architectural components, general elements...) into groups with a Parent-Child relationship, where the group is the parent, and all elements are children.
Methods:
-
GetElementGroupProperties–Get the ElementGroup properties
-
GetObjectList–Get the list of element group objects
-
SetElementGroupProperties–Set the ElementGroup properties
-
__init__–Overloaded function. See individual overloads.
-
__repr__–Convert the list to a string
GetElementGroupProperties
GetElementGroupProperties() -> ElementGroupProperties
GetObjectList
Get the list of element group objects
Returns:
-
list–Element group object list
SetElementGroupProperties
SetElementGroupProperties(ElementGroupProp: ElementGroupProperties)
Set the ElementGroup properties
Parameters:
-
ElementGroupProp(ElementGroupProperties) –ElementGroup properties
__init__
overloaded
Initialize
__init__(
commonProp: CommonProperties,
elementGroupProp: ElementGroupProperties,
elementGroupObjectList: list,
)
Constructor
Parameters:
-
commonProp(CommonProperties) –Common properties
-
elementGroupProp(ElementGroupProperties) –ElementGroup properties
-
elementGroupObjectList(list) –ElementGroup object list