MacroElement
Canonical path: NemAll_Python_BasisElements.MacroElement
Bases: BasisElement
, AllplanElement
Representation of the macro definition (smart symbol) in Allplan
Methods:
-
GetAttributesForSubElementInStrucutredContainer
–Get attributes to sub element in StructuredContainer
-
GetHash
–Get the hash value
-
GetMacroProperties
–Get the Macro properties
-
GetSlideList
–Get the slide object list
-
SetAttributesForSubElementInStrucutredContainer
–Set attributes to sub element in StructuredContainer
-
SetHash
–Set the hash value
-
SetMacroProperties
–Set the Macro properties
-
__init__
–dummy, is only needed for the creation of the documentation by MkDocs
-
__repr__
–Convert the list to a string
GetAttributesForSubElementInStrucutredContainer
Get attributes to sub element in StructuredContainer
Parameters:
-
sub_element_id
(UUID
) –sub element id
Returns:
-
object
–AttributeSet
GetMacroProperties
GetMacroProperties() -> MacroProperties
SetAttributesForSubElementInStrucutredContainer
Set attributes to sub element in StructuredContainer
Parameters:
-
attributeContainer
(object
) –attrib set
-
sub_element_id
(UUID
) –sub element id
SetMacroProperties
SetMacroProperties(MacroProp: MacroProperties)
__init__
overloaded
Initialize
__init__(macroProp: MacroProperties, slideList: list)
Constructor
Parameters:
-
macroProp
(MacroProperties
) –Macro properties
-
slideList
(list
) –Slide list of macro definition