    

 ## On this page

  

 

 # `CMGRPCommand`

 Last update: 16.07.2025 

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

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

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

Represents a CMGRP command.

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

## Overview

### Properties

NameDescription[`Aname`](#CMGRPCommand.Aname)Gets the assembly name.[`Cnames`](#CMGRPCommand.Cnames)Gets the component and/or assembly names.[`Index`](#CMGRPCommand.Index)Gets the command index.[`Name`](#CMGRPCommand.Name)Gets the command name.<a id="property-detail"></a>

## Property detail

<a id="CMGRPCommand.Aname"></a>

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

Gets the assembly name.

<a id="CMGRPCommand.Cnames"></a>

### *property* CMGRPCommand.Cnames *: [tuple](https://docs.python.org/3/library/stdtypes.html#tuple)\[[str](https://docs.python.org/3/library/stdtypes.html#str)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the component and/or assembly names.

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

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

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