MacroElement
Canonical path: NemAll_Python_BasisElements.MacroElement
Bases: BasisElement, AllplanElement
Representation of the macro definition (smart symbol) in Allplan
Methods:
-
GetAttributesForSubElementInStrucutredContainer–Get the default attributes of object
-
GetHash–Get the hash value
-
GetMacroProperties–Get the macro properties
-
GetSlideList–Get the slide list
-
SetAttributesForSubElementInStrucutredContainer–Set the default attributes to object
-
SetHash–Set the hash value
-
SetMacroProperties–Set the macro properties
-
__init__–Overloaded function. See individual overloads.
-
__repr__–Convert to string
Attributes:
-
Hash(str) –Get the hash value
-
MacroProperties(MacroProperties) –Get the macro properties
GetAttributesForSubElementInStrucutredContainer
Get the default attributes of object
Parameters:
-
subElementID(type) –
Returns:
-
object–Attributes object
GetMacroProperties
GetMacroProperties() -> MacroProperties
SetAttributesForSubElementInStrucutredContainer
Set the default attributes to object
Parameters:
-
attributeContainer(object) –Attributes object
-
subElementID(type) –
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
__init__(element: MacroElement)
Placeholder