IVariable#

class ansys.mechanical.stubs.v241.Ansys.Mechanical.Interfaces.IVariable#

Bases: object

Exposes a variable, which is a one dimensional array of real numbers with a unit.

Overview#

GetEnumerator

GetEnumerator method.

get_Count

get_Count method.

get_Item

get_Item method.

Count

Count property.

Item

Item property.

QuantityName

The quantity name of the variable. For example, this could be “Length”.

Unit

The unit of the variable. For example, this could be “mm”.

Property detail#

property IVariable.Count: int | None#

Count property.

property IVariable.Item: float | None#

Item property.

property IVariable.QuantityName: str | None#

The quantity name of the variable. For example, this could be “Length”.

property IVariable.Unit: str | None#

The unit of the variable. For example, this could be “mm”.

Method detail#

IVariable.GetEnumerator() Iterator#

GetEnumerator method.

IVariable.get_Count() int#

get_Count method.

IVariable.get_Item(index: int) float#

get_Item method.