Skip to main content

Mechanical scripting interface 2025

`VariableDefinitionType`

Last update: 09.03.2026

class Ansys.ACT.Mechanical.Fields.VariableDefinitionType

Bases: enum.Enum

Defines the various ways to define the values of a variable.

Overview

Attributes

Name
Discrete
Formula
Free

Attribute detail

VariableDefinitionType.Discrete = 1

VariableDefinitionType.Formula = 2

VariableDefinitionType.Free = 0

Connect with Ansys