TimeIntervalCollectionReadOnly#

class ansys.stk.core.stkobjects.TimeIntervalCollectionReadOnly#

Read-only collection of intervals.

Overview#

get_interval

Return start and stop times of the interval at a given index. Start/Stop use DateFormat Dimension.

to_array

Return a two-dimensional array of intervals.

count

Number of items in the collection.

Import detail#

from ansys.stk.core.stkobjects import TimeIntervalCollectionReadOnly

Property detail#

property TimeIntervalCollectionReadOnly.count: int#

Number of items in the collection.

Method detail#

TimeIntervalCollectionReadOnly.get_interval(self, index: int) Tuple[Any, Any]#

Return start and stop times of the interval at a given index. Start/Stop use DateFormat Dimension.

Parameters:

index : int

Returns:

Any]

TimeIntervalCollectionReadOnly.to_array(self) list#

Return a two-dimensional array of intervals.

Returns:

list