Skip to main content

Mechanical scripting interface 2026 R1

`CECommand`

Last update: 09.03.2026

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

Bases: object

Represents a CE 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.
Terms Gets the equation terms.
ToCdbCommandString Gets the command text formatted as a CDB file entry.

Property detail

property CECommand.Constant : float | None

Gets the constant term of the equation.

property CECommand.Index : int | None

Gets the command index.

property CECommand.Name : str | None

Gets the command name.

property CECommand.Nce : int | None

Gets the constraint equation number.

property CECommand.Terms : tuple[Ansys.ACT.Automation.Mechanical.FE.CDB.CommandCETerm] | None

Gets the equation terms.

property CECommand.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