    

 ## On this page

  

 

 # `MPDataCommand`

 Last update: 09.03.2026 

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

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

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

Represents a MPDATA command.

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

## Overview

### Properties

NameDescription[`Index`](#MPDataCommand.Index)Gets the command index.[`Lab`](#MPDataCommand.Lab)Gets the label.[`Mat`](#MPDataCommand.Mat)Gets the material number.[`Name`](#MPDataCommand.Name)Gets the command name.[`Temps`](#MPDataCommand.Temps)Gets the temperatures.[`ToCdbCommandString`](#MPDataCommand.ToCdbCommandString)Gets the command text formatted as a CDB file entry.[`Values`](#MPDataCommand.Values)Gets the values.<a id="property-detail"></a>

## Property detail

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

### *property* MPDataCommand.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="MPDataCommand.Lab"></a>

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

Gets the label.

<a id="MPDataCommand.Mat"></a>

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

Gets the material number.

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

### *property* MPDataCommand.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="MPDataCommand.Temps"></a>

### *property* MPDataCommand.Temps *: [tuple](https://docs.python.org/3/library/stdtypes.html#tuple)\[[float](https://docs.python.org/3/library/functions.html#float)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the temperatures.

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

### *property* MPDataCommand.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.

<a id="MPDataCommand.Values"></a>

### *property* MPDataCommand.Values *: [tuple](https://docs.python.org/3/library/stdtypes.html#tuple)\[[float](https://docs.python.org/3/library/functions.html#float)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the values.