ICelestialBodyInformationCollection#

class ansys.stk.core.stkobjects.ICelestialBodyInformationCollection#

Represents a collection of celestial bodies.

Overview#

item

Given an index, 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.

recycle

Control whether to reuse the same celestial info object when accessing the elements of the collection.

Import detail#

from ansys.stk.core.stkobjects import ICelestialBodyInformationCollection

Property detail#

property ICelestialBodyInformationCollection.count: int#

Return the number of elements in a collection.

property ICelestialBodyInformationCollection._new_enum: EnumeratorProxy#

Return an enumerator that can iterate through the collection.

property ICelestialBodyInformationCollection.recycle: bool#

Control whether to reuse the same celestial info object when accessing the elements of the collection.

Method detail#

ICelestialBodyInformationCollection.item(self, index: int) ICelestialBodyInformation#

Given an index, returns an element in the collection.

Parameters:

index : int

Returns:

ICelestialBodyInformation