Skip to main content

Mechanical scripting interface 2026 R1

`CartesianDirection`

Last update: 09.03.2026

class Ansys.Mechanical.DataModel.MechanicalEnums.Common.CartesianDirection(*args, **kwds)

Bases: enum.Enum

Used to specify cardinal directions with respect to a Cartesian-based system.

Overview

Attributes

Name
X
Y
Z

Attribute detail

CartesianDirection.X = 1

CartesianDirection.Y = 2

CartesianDirection.Z = 3

Connect with Ansys