Graphics3DModelCollection#

class ansys.stk.core.stkobjects.Graphics3DModelCollection#

Bases: IGraphics3DModelData

Collection representing 3D model list.

Overview#

add

Add a model file at the given time. Time Param uses DateFormat Dimension.

remove

Remove an item at the given index.

item

Return an Graphics3DModelItem at the given index.

count

Number of items in the collection.

_new_enum

Enumerates through the collection.

Import detail#

from ansys.stk.core.stkobjects import Graphics3DModelCollection

Property detail#

property Graphics3DModelCollection.count: int#

Number of items in the collection.

property Graphics3DModelCollection._new_enum: EnumeratorProxy#

Enumerates through the collection.

Method detail#

Graphics3DModelCollection.add(self, time: Any, filename: str) Graphics3DModelItem#

Add a model file at the given time. Time Param uses DateFormat Dimension.

Parameters:

time : Any

filename : str

Returns:

Graphics3DModelItem

Graphics3DModelCollection.remove(self, index: int) None#

Remove an item at the given index.

Parameters:

index : int

Returns:

None

Graphics3DModelCollection.item(self, index: int) Graphics3DModelItem#

Return an Graphics3DModelItem at the given index.

Parameters:

index : int

Returns:

Graphics3DModelItem