    

 ## On this page

  

 

 # `RCommand`

 Last update: 09.03.2026 

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

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

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

Represents a R command.

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

## Overview

### Properties

NameDescription[`Index`](#RCommand.Index)Gets the command index.[`Name`](#RCommand.Name)Gets the command name.[`Nset`](#RCommand.Nset)Gets the set number.[`Stloc`](#RCommand.Stloc)Gets the starting location.[`ToCdbCommandString`](#RCommand.ToCdbCommandString)Gets the command text formatted as a CDB file entry.[`Values`](#RCommand.Values)Gets the values.<a id="property-detail"></a>

## Property detail

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

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

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

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

Gets the set number.

<a id="RCommand.Stloc"></a>

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

Gets the starting location.

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

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

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