Skip to main content

Mechanical scripting interface 2025

`CECMODCommand`

Last update: 09.03.2026

class Ansys.ACT.Automation.Mechanical.FE.CDB.CECMODCommand

Bases: object

Represents a CECMOD command.

Overview

Properties

Name Description
Constant Gets the constant term of the equation.
Index Gets the command index.
Name Gets the command name.
Nce Gets the constraint equation number.
ToCdbCommandString Gets the command text formatted as a CDB file entry.

Property detail

property CECMODCommand.Constant : float | None

Gets the constant term of the equation.

property CECMODCommand.Index : int | None

Gets the command index.

property CECMODCommand.Name : str | None

Gets the command name.

property CECMODCommand.Nce : int | None

Gets the constraint equation number.

property CECMODCommand.ToCdbCommandString : Ansys.ACT.Automation.Mechanical.FE.CDB.CdbCommandFormatAndParameter | None

Gets the command text formatted as a CDB file entry. Gets the command parameters formatted as a string.

Connect with Ansys