ModelArticulation#

class ansys.stk.core.graphics.ModelArticulation#

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 transformation at the given index. The index is zero-based.

get_item_by_string

Get a transformation by name.

get_by_name

Get a transformation by name.

contains

Return true if the collection contains the transformation.

name

Get the name of the articulation.

count

Get the number of transformations in the collection.

_new_enum

Return the enumerator for this collection.

Import detail#

from ansys.stk.core.graphics import ModelArticulation

Property detail#

property ModelArticulation.name: str#

Get the name of the articulation.

property ModelArticulation.count: int#

Get the number of transformations in the collection.

property ModelArticulation._new_enum: EnumeratorProxy#

Return the enumerator for this collection.

Method detail#

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

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

Parameters:

index : int

Returns:

ModelTransformation

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

Get a transformation by name.

Parameters:

name : str

Returns:

ModelTransformation

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

Get a transformation by name.

Parameters:

name : str

Returns:

ModelTransformation

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

Return true if the collection contains the transformation.

Parameters:

name : str

Returns:

bool