VehicleGraphics2DIntervalsCollection#

class ansys.stk.core.stkobjects.VehicleGraphics2DIntervalsCollection#

Custom Intervals Graphics List.

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

Add a new element to the collection. Start/Stop params use DateFormat Dimension.

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 VehicleGraphics2DIntervalsCollection

Property detail#

property VehicleGraphics2DIntervalsCollection.count: int#

Return the number of elements in a collection.

property VehicleGraphics2DIntervalsCollection._new_enum: EnumeratorProxy#

Return an enumerator that can iterate through the collection.

Method detail#

VehicleGraphics2DIntervalsCollection.item(self, index: int) VehicleGraphics2DInterval#

Given an index, returns an element in the collection.

Parameters:

index : int

Returns:

VehicleGraphics2DInterval

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

Remove an element from the collection using specified index.

Parameters:

index : int

Returns:

None

VehicleGraphics2DIntervalsCollection.remove_all(self) None#

Remove all elements from the collection.

Returns:

None

VehicleGraphics2DIntervalsCollection.add(self, start: Any, stop: Any) VehicleGraphics2DInterval#

Add a new element to the collection. Start/Stop params use DateFormat Dimension.

Parameters:

start : Any

stop : Any

Returns:

VehicleGraphics2DInterval