ModelArticulationCollection#

class ansys.stk.core.graphics.ModelArticulationCollection#

A collection containing a model primitive’s available articulations. A model articulation identifies geometry on the model and is a collection of transformations that can be applied to that geometry.

Overview#

item

Get the articulation at the given index. The index is zero-based.

get_item_by_string

Get an articulation by name.

get_by_name

Get an articulation by name.

contains

Return true if the collection contains the articulation.

count

Get the number of articulations in the collection.

_new_enum

Return the enumerator for this collection.

Import detail#

from ansys.stk.core.graphics import ModelArticulationCollection

Property detail#

property ModelArticulationCollection.count: int#

Get the number of articulations in the collection.

property ModelArticulationCollection._new_enum: EnumeratorProxy#

Return the enumerator for this collection.

Method detail#

ModelArticulationCollection.item(self, index: int) ModelArticulation#

Get the articulation at the given index. The index is zero-based.

Parameters:

index : int

Returns:

ModelArticulation

ModelArticulationCollection.get_item_by_string(self, name: str) ModelArticulation#

Get an articulation by name.

Parameters:

name : str

Returns:

ModelArticulation

ModelArticulationCollection.get_by_name(self, name: str) ModelArticulation#

Get an articulation by name.

Parameters:

name : str

Returns:

ModelArticulation

ModelArticulationCollection.contains(self, name: str) bool#

Return true if the collection contains the articulation.

Parameters:

name : str

Returns:

bool