Skip to content

BarPositionData

Canonical path: NemAll_Python_Reinforcement.BarPositionData

Bases: BendingShape

Implementation of the bar position data

Count property writable

Count: int

Get the count

Length property writable

Length: float

Get the length

Position property writable

Position: int

Get the position number

GetCount

GetCount() -> int

Get the count

Returns:

  • int

    Count

GetLength

GetLength() -> float

Get the length

Returns:

  • float

    length

GetPosition

GetPosition() -> int

Get the position number

Returns:

  • int

    Position number

SetCount

SetCount(count: int)

Set the count

Parameters:

  • count (int) –

    Count

SetLength

SetLength(length: float)

Set the length

Parameters:

  • length (float) –

    length

SetPosition

SetPosition(position: int)

Set the position number

Parameters:

  • position (int) –

    Position

__init__ overloaded

__init__()

Initialize

__init__(barElement: BaseElementAdapter)

Constructor

Parameters:

__init__(param: BarPositionData)

Copy constructor

__init__(bendingShape: BendingShape)

Constructor

Parameters:

__repr__

__repr__() -> str

Convert to string

Placeholder