Skip to main content

Mechanical scripting interface 2025

`ENCommand`

Last update: 09.03.2026

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

Bases: object

Represents an EN command.

Overview

Properties

Name Description
Index Gets the command index.
Name Gets the command name.
ToCdbCommandString Gets the command text formatted as a CDB file entry.
Type Gets the type (attribute or node).
Values Gets the values.

Property detail

property ENCommand.Index : int | None

Gets the command index.

property ENCommand.Name : str | None

Gets the command name.

property ENCommand.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.

property ENCommand.Type : str | None

Gets the type (attribute or node).

property ENCommand.Values : tuple[int] | None

Gets the values.

Connect with Ansys