Skip to main content

Mechanical scripting interface

IVariable

Last update: 14.01.2025

class Ansys.Mechanical.Interfaces.IVariable

Bases: object

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

Overview

Properties

Name Description
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.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”.