Skip to content

Macro Group Element

Class full path: NemAll_Python_BasisElements.MacroGroupElement

Bases: BasisElement, AllplanElement

Implementation of the macro group element

Attributes

MacroGroupProperties: MacroGroupProperties property writable

Get the macro group properties

Functions

GetMacroGroupProperties()

Get the macro group properties

Returns:

Type Description
MacroGroupProperties

MacroGroup properties

GetPlacementList()

Get the placement list

Returns:

Type Description
List[MacroPlacementElement]

Placements of macro group

SetMacroGroupProperties(macroGroupProp)

Set the macro group properties

Parameters:

Name Type Description Default
macroGroupProp MacroGroupProperties

MacroGroup properties

required

TransformElement(transMat)

Args: transMat:

__init__ overload

__init__()

Initialize

__init__(macroGroupProp, placementList)

Constructor

Parameters:

Name Type Description Default
macroGroupProp MacroGroupProperties

MacroGroup properties

required
placementList List[MacroPlacementElement]

Placements list of macro group

required
__init__(commonProp, macroGroupProp, placementList)

Constructor

Parameters:

Name Type Description Default
commonProp CommonProperties

Common properties

required
macroGroupProp MacroGroupProperties

MacroGroup properties

required
placementList List[MacroPlacementElement]

Placements list of macro group

required
__init__(element)

Copy constructor

Parameters:

Name Type Description Default
element MacroGroupElement

Element to copy

required

__repr__()

Convert to string