Skip to content

ModelElement2D

Canonical path: NemAll_Python_BasisElements.ModelElement2D

Bases: BasisElement, AllplanElement

Representation of a general two-dimensional model element, such as line, arc or polyline.

EndSymbolsProperties property writable

EndSymbolsProperties: EndSymbolsProperties

Get the end symbols properties

PatternCurveProperties property writable

PatternCurveProperties: PatternCurveProperties

Get the pattern curve properties

TransformationList property writable

TransformationList: list

Get transformation list

GetEndSymbolsProperties

GetEndSymbolsProperties() -> EndSymbolsProperties

Get the end symbols properties

Returns:

GetPatternCurveProperties

GetPatternCurveProperties() -> PatternCurveProperties

Get the pattern curve properties

Returns:

GetTransformationList

GetTransformationList() -> list

Get transformation list

Returns:

  • list

    List with the transformations

SetEndSymbolsProperties

SetEndSymbolsProperties(endSymbolsProp: EndSymbolsProperties)

Set the end symbols properties

Parameters:

SetPatternCurveProperties

SetPatternCurveProperties(patternCurveProp: PatternCurveProperties)

Set the pattern curve properties

Parameters:

SetTransformationList

SetTransformationList(transformationList: list)

Set the transformation list

Parameters:

  • transformationList (list) –

    List with the transformations

__init__ overloaded

__init__()

Initialize

__init__(commonProp: CommonProperties, geometryObject: object)

Constructor

Parameters:

  • commonProp (CommonProperties) –

    Common properties

  • geometryObject (object) –

    Geometry element

__init__(
    commonProp: CommonProperties,
    patternCurveProp: PatternCurveProperties,
    endSymbolProp: EndSymbolsProperties,
    geometryObject: object,
)

Constructor

Parameters:

__init__(element: ModelElement2D)

Copy constructor

Parameters:

__repr__

__repr__() -> str

Convert to string

Placeholder