MacroPlacementElement
Canonical path: NemAll_Python_BasisElements.MacroPlacementElement
Bases: BasisElement, AllplanElement
Representation of the macro placement. In Allplan referred to as instance of a smart symbol
Methods:
-
GetArchitectureElementsList–Get the architecture elements
-
GetAssemblyGoupList–Get the assembly group elements
-
GetAttributesList–Get the attributes list
-
GetFixtureElementsList–Get the fixture elements
-
GetGeometryParameterValueList–Get the geometry parameter value list
-
GetLibraryElementsList–Get the library elements
-
GetMacro–Get the corresponding macro definition
-
GetMacroPlacementProperties–Get the macro placement properties
-
GetPrecastMWSList–Get the Precast MWS elements
-
GetReinforcementList–Get the reinforcement elements
-
SetGeometryParameterValueList–Set the geometry parameter value list
-
SetMacroPlacementProperties–Set the macro placement properties
-
__init__–Overloaded function. See individual overloads.
-
__repr__–Convert to string
Attributes:
-
GeometryParameterValueList(list) –Get the geometry parameter value list
-
MacroPlacementProperties(MacroPlacementProperties) –Properties of the macro placement
GeometryParameterValueList
property
writable
Get the geometry parameter value list
MacroPlacementProperties
property
writable
MacroPlacementProperties: MacroPlacementProperties
Properties of the macro placement
GetArchitectureElementsList
Get the architecture elements
Returns:
-
list–Architecture elements
GetAssemblyGoupList
Get the assembly group elements
Returns:
-
list–Assembly group elements
GetAttributesList
GetAttributesList() -> List[AttributeSet]
GetFixtureElementsList
Get the fixture elements
Returns:
-
list–Fixture elements
GetGeometryParameterValueList
Get the geometry parameter value list
Returns:
-
list–Geometry parameter value list
GetLibraryElementsList
Get the library elements
Returns:
-
list–Library elements
GetMacro
GetMacro() -> MacroElement
GetMacroPlacementProperties
GetMacroPlacementProperties() -> MacroPlacementProperties
GetPrecastMWSList
Get the Precast MWS elements
Returns:
-
list–Precast MWS elements
GetReinforcementList
Get the reinforcement elements
Returns:
-
list–Reinforcement elements
SetGeometryParameterValueList
Set the geometry parameter value list
Parameters:
-
geometryParameterValueList(list) –Geometry parameter value list
SetMacroPlacementProperties
SetMacroPlacementProperties(macroPlacementProp: MacroPlacementProperties)
Set the macro placement properties
Parameters:
-
macroPlacementProp(MacroPlacementProperties) –MacroPlacement properties
__init__
overloaded
Initialize
__init__(
commonProp: CommonProperties,
macroPlacementProp: MacroPlacementProperties,
macro: object,
reinforcementList: list,
libraryElementList: list = [],
architectureElementsList: list = [],
fixtureElementsList: list = [],
assemblyGroupList: list = [],
precastMWSList: list = [],
)
Constructor
Parameters:
-
commonProp(CommonProperties) –Common properties
-
macroPlacementProp(MacroPlacementProperties) –MacroPlacement properties
-
macro(object) –Macro definition element
-
reinforcementList(list) –Reinforcement elements
-
libraryElementList(list, default:[]) –Library elements list
-
architectureElementsList(list, default:[]) –Architecture elements list
-
fixtureElementsList(list, default:[]) –Fixture elements list
-
assemblyGroupList(list, default:[]) –Assembly group list
-
precastMWSList(list, default:[]) –Precas MWS list
__init__(placement: MacroPlacementElement)