Skip to content

Model Element2D

Class full path: NemAll_Python_BasisElements.ModelElement2D

Bases: BasisElement, AllplanElement

Representation of the 2D model elements, like Line, Polyline, etc.

Attributes

EndSymbolsProperties: EndSymbolsProperties property writable

Get the end symbols properties

PatternCurveProperties: PatternCurveProperties property writable

Get the pattern curve properties

TransformationList: typing.List[Matrix3D] property writable

Get transformation list

Functions

GetEndSymbolsProperties()

Get the end symbols properties

Returns:

Type Description
EndSymbolsProperties

End symbols properties

GetPatternCurveProperties()

Get the pattern curve properties

Returns:

Type Description
PatternCurveProperties

Pattern curve properties

GetTransformationList()

Get transformation list

Returns:

Type Description
List[Matrix3D]

List with the transformations

SetEndSymbolsProperties(endSymbolsProp)

Set the end symbols properties

Parameters:

Name Type Description Default
endSymbolsProp EndSymbolsProperties

End symbols properties

required

SetPatternCurveProperties(patternCurveProp)

Set the pattern curve properties

Parameters:

Name Type Description Default
patternCurveProp PatternCurveProperties

Pattern curve properties

required

SetTransformationList(transformationList)

Set the transformation list

Parameters:

Name Type Description Default
transformationList List[Matrix3D]

List with the transformations

required

__init__ overload

__init__()

initialize

__init__(commonProp, geometryObject)

Constructor

Parameters:

Name Type Description Default
commonProp CommonProperties

Common properties

required
geometryObject object

Geometry element

required
__init__(commonProp, patternCurveProp, endSymbolProp, geometryObject)

Constructor

Parameters:

Name Type Description Default
commonProp CommonProperties

Common properties

required
patternCurveProp PatternCurveProperties

Pattern curve properties

required
endSymbolProp EndSymbolsProperties

End symbols properties

required
geometryObject object

Geometry element

required
__init__(element)

Copy constructor

Parameters:

Name Type Description Default
element ModelElement2D

Element to copy

required

__repr__()

Convert to string