Skip to content

DimensionSegmentPropertiesList

Canonical path: NemAll_Python_BasisElements.DimensionSegmentPropertiesList

List for DimensionSegmentProperties objects

Methods:

__contains__

__contains__(value: DimensionSegmentProperties) -> bool

Check for a value in the list

Parameters:

Returns:

  • bool

    State for value is in the list

__delitem__

__delitem__(value: DimensionSegmentProperties)

Delete a list item

Parameters:

__eq__

__eq__(compare_list: DimensionSegmentPropertiesList) -> bool

Compare two lists

Parameters:

Returns:

  • bool

    Lists are equal state

__getitem__

__getitem__(index: int) -> DimensionSegmentProperties

Get a list item

Parameters:

  • index (int) –

    Index of the item

Returns:

__iadd__

__iadd__(eleList: list) -> DimensionSegmentPropertiesList

Add a list

Parameters:

  • eleList (list) –

    DimensionSegmentProperties list

Returns:

__init__ overloaded

__init__()

Initialize

Constructor with a DimensionSegmentProperties

Parameters:

__init__(eleList: list)

Constructor with a list of DimensionSegmentProperties

Parameters:

  • eleList (list) –

    DimensionSegmentProperties list

__iter__

__iter__() -> Iterator

List iterator

Returns:

  • Iterator

    List iterator

__len__

__len__() -> int

Get the list length

Returns:

  • int

    Length of the list

__repr__

__repr__() -> str

Create a string from the elements of the list

__setitem__

__setitem__(index: int | slice, value: DimensionSegmentProperties)

Set a list item

Parameters:

append

Append a list item

Parameters:

extend overloaded

Add the items from an iterable to the end of the list

Parameters:

extend(eleList: list)

Extend the list

Parameters:

  • eleList (list) –

    DimensionSegmentProperties list

Placeholder