Skip to main content

Mechanical scripting interface 2025

`EBlockCommand`

Last update: 09.03.2026

class Ansys.ACT.Automation.Mechanical.FE.CDB.EBlockCommand

Bases: object

Represents an EBLOCK command.

Overview

Properties

Name Description
Elements Gets the elements.
Format Gets the format.
Index Gets the command index.
Name Gets the command name.
ToCdbCommandString Gets the command text formatted as a CDB file entry.

Property detail

property EBlockCommand.Elements : tuple[Ansys.ACT.Automation.Mechanical.FE.CDB.CommandElement] | None

Gets the elements.

property EBlockCommand.Format : str | None

Gets the format.

property EBlockCommand.Index : int | None

Gets the command index.

property EBlockCommand.Name : str | None

Gets the command name.

property EBlockCommand.ToCdbCommandString : Ansys.ACT.Automation.Mechanical.FE.CDB.CdbCommandFormatAndParameter | None

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

Connect with Ansys