    

 ## On this page

  

 

 # `CECMODCommand`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.FE.CDB.CECMODCommand"></a>

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

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

Represents a CECMOD command.

<a id="overview"></a>

## Overview

### Properties

NameDescription[`Constant`](#CECMODCommand.Constant)Gets the constant term of the equation.[`Index`](#CECMODCommand.Index)Gets the command index.[`Name`](#CECMODCommand.Name)Gets the command name.[`Nce`](#CECMODCommand.Nce)Gets the constraint equation number.[`ToCdbCommandString`](#CECMODCommand.ToCdbCommandString)Gets the command text formatted as a CDB file entry.<a id="property-detail"></a>

## Property detail

<a id="CECMODCommand.Constant"></a>

### *property* CECMODCommand.Constant *: [float](https://docs.python.org/3/library/functions.html#float) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the constant term of the equation.

<a id="CECMODCommand.Index"></a>

### *property* CECMODCommand.Index *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the command index.

<a id="CECMODCommand.Name"></a>

### *property* CECMODCommand.Name *: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the command name.

<a id="CECMODCommand.Nce"></a>

### *property* CECMODCommand.Nce *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the constraint equation number.

<a id="CECMODCommand.ToCdbCommandString"></a>

### *property* CECMODCommand.ToCdbCommandString *: Ansys.ACT.Automation.Mechanical.FE.CDB.CdbCommandFormatAndParameter | [None](https://docs.python.org/3/library/constants.html#None)*

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