MacroElement
Canonical path: NemAll_Python_BasisElements.MacroElement
Bases: BasisElement, AllplanElement
Representation of the macro definition (smart symbol) in Allplan
Methods:
-
GetAttributesForSubElementInStrucutredContainer–Get attributes for 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__–Overloaded function. See individual overloads.
-
__repr__–Convert the list to a string
GetAttributesForSubElementInStrucutredContainer
Get attributes for sub element in StructuredContainer
Parameters:
-
subElementID(type) –Sub element id
GetMacroProperties
GetMacroProperties() -> MacroProperties
SetAttributesForSubElementInStrucutredContainer
Set attributes to sub element in StructuredContainer
Parameters:
-
attributeContainer(object) –AttributeSet
-
subElementID(type) –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
Placeholder