MTOGraphics2DTrackCollection#

class ansys.stk.core.stkobjects.MTOGraphics2DTrackCollection#

MTO 2D Graphics Track List.

Overview#

item

Given an index, returns an element in the collection.

get_track_from_identifier

Given a track id, returns an element in the collection.

count

Return the number of elements in a collection.

_new_enum

Return an enumerator that can iterate through the collection.

recycling

Recycling is used for optimizing performance in iterative modification or addition of elements in a particular collection (see Remarks section for this property).

Import detail#

from ansys.stk.core.stkobjects import MTOGraphics2DTrackCollection

Property detail#

property MTOGraphics2DTrackCollection.count: int#

Return the number of elements in a collection.

property MTOGraphics2DTrackCollection._new_enum: EnumeratorProxy#

Return an enumerator that can iterate through the collection.

property MTOGraphics2DTrackCollection.recycling: bool#

Recycling is used for optimizing performance in iterative modification or addition of elements in a particular collection (see Remarks section for this property).

Method detail#

MTOGraphics2DTrackCollection.item(self, index: int) MTOGraphics2DTrack#

Given an index, returns an element in the collection.

Parameters:

index : int

Returns:

MTOGraphics2DTrack

MTOGraphics2DTrackCollection.get_track_from_identifier(self, track_id: int) MTOGraphics2DTrack#

Given a track id, returns an element in the collection.

Parameters:

track_id : int

Returns:

MTOGraphics2DTrack