    

 ## On this page

  

 

 # `ETBlockCommand`

 Last update: 09.03.2026 

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

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

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

Represents a ETBLOCK command.

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

## Overview

### Properties

NameDescription[`ElementTypeCount`](#ETBlockCommand.ElementTypeCount)Gets the element type count.[`ElementTypes`](#ETBlockCommand.ElementTypes)Gets the element types.[`Index`](#ETBlockCommand.Index)Gets the command index.[`Name`](#ETBlockCommand.Name)Gets the command name.<a id="property-detail"></a>

## Property detail

<a id="ETBlockCommand.ElementTypeCount"></a>

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

Gets the element type count.

<a id="ETBlockCommand.ElementTypes"></a>

### *property* ETBlockCommand.ElementTypes *: [tuple](https://docs.python.org/3/library/stdtypes.html#tuple)\[[Ansys.ACT.Automation.Mechanical.FE.CDB.CommandElementType](CommandElementType.md#ansys.mechanical.stubs.v251.Ansys.ACT.Automation.Mechanical.FE.CDB.CommandElementType)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the element types.

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

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

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