Skip to content

MacroGroupElement

Canonical path: NemAll_Python_BasisElements.MacroGroupElement

Bases: BasisElement, AllplanElement

Representation of the macro group (group of smart symbols) in Allplan

MacroGroupProperties property writable

MacroGroupProperties: MacroGroupProperties

Get the macro group properties

GetMacroGroupProperties

GetMacroGroupProperties() -> MacroGroupProperties

Get the macro group properties

Returns:

GetPlacementList

GetPlacementList() -> List[MacroPlacementElement]

Get the placement list

Returns:

SetGeometryParameterValueList

SetGeometryParameterValueList(geometryParameterValueList: list)

Set the geometry parameter value list

Parameters:

  • geometryParameterValueList (list) –

    Geometry parameter value list

SetMacroGroupProperties

SetMacroGroupProperties(macroGroupProp: MacroGroupProperties)

Set the macro group properties

Parameters:

TransformElement

TransformElement(transMat: Matrix3D)

Args: transMat

__init__ overloaded

__init__()

Initialize

__init__(macroGroupProp: MacroGroupProperties, placementList: list)

Constructor

Parameters:

  • macroGroupProp (MacroGroupProperties) –

    MacroGroup properties

  • placementList (list) –

    typing.List[MacroPlacementElement] Placements list of macro group

__init__(
    commonProp: CommonProperties,
    macroGroupProp: MacroGroupProperties,
    placementList: list,
)

Constructor

Parameters:

  • commonProp (CommonProperties) –

    Common properties

  • macroGroupProp (MacroGroupProperties) –

    MacroGroup properties

  • placementList (list) –

    typing.List[MacroPlacementElement] Placements list of macro group

__init__(element: MacroGroupElement)

Copy constructor

Parameters:

__repr__

__repr__() -> str

Convert to string

Placeholder