FigureOfMeritGraphics2DLevelAttributesCollection#

class ansys.stk.core.stkobjects.FigureOfMeritGraphics2DLevelAttributesCollection#

Collection of Level Attributes.

Overview#

item

Given an index, returns an element in the collection.

remove_at

Remove an element from the collection using specified index.

remove_all

Remove all elements from the collection.

add_level_range

Add a new element to the collection.

add_level

Add a new element to the collection.

count

Return the number of elements in a collection.

_new_enum

Return an enumerator that can iterate through the collection.

Import detail#

from ansys.stk.core.stkobjects import FigureOfMeritGraphics2DLevelAttributesCollection

Property detail#

property FigureOfMeritGraphics2DLevelAttributesCollection.count: int#

Return the number of elements in a collection.

property FigureOfMeritGraphics2DLevelAttributesCollection._new_enum: EnumeratorProxy#

Return an enumerator that can iterate through the collection.

Method detail#

FigureOfMeritGraphics2DLevelAttributesCollection.item(self, index: int) FigureOfMeritGraphics2DLevelAttributesElement#

Given an index, returns an element in the collection.

Parameters:

index : int

Returns:

FigureOfMeritGraphics2DLevelAttributesElement

FigureOfMeritGraphics2DLevelAttributesCollection.remove_at(self, index: int) None#

Remove an element from the collection using specified index.

Parameters:

index : int

Returns:

None

FigureOfMeritGraphics2DLevelAttributesCollection.remove_all(self) None#

Remove all elements from the collection.

Returns:

None

FigureOfMeritGraphics2DLevelAttributesCollection.add_level_range(self, start: Any, stop: Any, step: Any) None#

Add a new element to the collection.

Parameters:

start : Any

stop : Any

step : Any

Returns:

None

FigureOfMeritGraphics2DLevelAttributesCollection.add_level(self, level: Any) FigureOfMeritGraphics2DLevelAttributesElement#

Add a new element to the collection.

Parameters:

level : Any

Returns:

FigureOfMeritGraphics2DLevelAttributesElement