Skip to content

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

MacroPlacementProperties property writable

MacroPlacementProperties: MacroPlacementProperties

Properties of the macro placement

GetArchitectureElementsList

GetArchitectureElementsList() -> list

Get the architecture elements

Returns:

  • list

    Architecture elements

GetAssemblyGoupList

GetAssemblyGoupList() -> list

Get the assembly group elements

Returns:

  • list

    Assembly group elements

GetAttributesList

GetAttributesList() -> List[AttributeSet]

Get the attributes list

Returns:

GetFixtureElementsList

GetFixtureElementsList() -> list

Get the fixture elements

Returns:

  • list

    Fixture elements

GetLibraryElementsList

GetLibraryElementsList() -> list

Get the library elements

Returns:

  • list

    Library elements

GetMacro

GetMacro() -> MacroElement

Get the corresponding macro definition

Returns:

GetMacroPlacementProperties

GetMacroPlacementProperties() -> MacroPlacementProperties

Get the macro placement properties

Returns:

GetPrecastMWSList

GetPrecastMWSList() -> list

Get the Precast MWS elements

Returns:

  • list

    Precast MWS elements

GetReinforcementList

GetReinforcementList() -> list

Get the reinforcement elements

Returns:

  • list

    Reinforcement elements

SetGeometryParameterValueList

SetGeometryParameterValueList(geometryParameterValueList: list)

Set the geometry parameter value list

Parameters:

  • geometryParameterValueList (list) –

    Geometry parameter value list

SetMacroPlacementProperties

SetMacroPlacementProperties(macroPlacementProp: MacroPlacementProperties)

Set the macro placement properties

Parameters:

__init__ overloaded

__init__()

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)

Copy constructor

Parameters:

__repr__

__repr__() -> str

Convert to string

Placeholder