Skip to content

title: Reinforcement Label description: Deprecated: use BarLabel instead!


ReinforcementLabel

Canonical path: NemAll_Python_Reinforcement.ReinforcementLabel

Bases: BarLabel

Deprecated: use BarLabel instead!

Methods:

  • __init__

    Overloaded function. See individual overloads.

__init__ overloaded

__init__()

Initialize

__init__(
    reinforcementType: ReinforcementType,
    type: LabelType,
    positionNumber: int,
    labelProp: ReinforcementLabelProperties,
    labelPoint: Point2D,
    angle: Angle,
)

Constructor

Parameters:

__init__(
    reinforcementType: ReinforcementType,
    type: LabelType,
    positionNumber: int,
    labelProp: ReinforcementLabelProperties,
    shapeSide: int,
    shapeSideFactor: float,
    labelOffset: Vector2D,
    angle: Angle,
)

Constructor

Parameters:

  • reinforcementType (ReinforcementType) –

    Reinforcement type

  • type (LabelType) –

    Label type

  • positionNumber (int) –

    Position number

  • labelProp (ReinforcementLabelProperties) –

    Label properties

  • shapeSide (int) –

    Shape side for the text pointer

  • shapeSideFactor (float) –

    Factor for the text pointer at the shape side

  • labelOffset (Vector2D) –

    Label offset for the text pointer from the shape side

  • angle (Angle) –

    Angle

__init__(
    reinforcementType: ReinforcementType,
    type: LabelType,
    positionNumber: int,
    labelProp: ReinforcementLabelProperties,
    bDimLineAtShapeStart: bool,
    dimLineOffset: float,
)

Constructor

Parameters:

  • reinforcementType (ReinforcementType) –

    Reinforcement type

  • type (LabelType) –

    Label type

  • positionNumber (int) –

    Position number

  • labelProp (ReinforcementLabelProperties) –

    Label properties

  • bDimLineAtShapeStart (bool) –

    Placement of the dimension line: at shape start = true / at shape end = false

  • dimLineOffset (float) –

    Offset of the dimension line from the placement

__init__(
    reinforcementType: ReinforcementType,
    type: LabelType,
    positionNumber: int,
    labelProp: ReinforcementLabelProperties,
    pointerProp: ReinforcementLabelPointerProperties,
    bDimLineAtShapeStart: bool,
    dimLineOffset: float,
)

Constructor

Parameters:

  • reinforcementType (ReinforcementType) –

    Reinforcement type

  • type (LabelType) –

    Label type

  • positionNumber (int) –

    Position number

  • labelProp (ReinforcementLabelProperties) –

    Label properties

  • pointerProp (ReinforcementLabelPointerProperties) –

    Pointer properties

  • bDimLineAtShapeStart (bool) –

    Placement of the dimension line: at shape start = true / at shape end = false

  • dimLineOffset (float) –

    Offset of the dimension line from the placement

Placeholder