Skip to main content

Mechanical scripting interface 2026 R1

`GenericCommand`

Last update: 09.03.2026

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

Bases: object

Represents a generic command.

Overview

Properties

Name Description
Arguments Gets the arguments.
Index Gets the command index.
Name Gets the command name.
ToCdbCommandString Gets the command text formatted as a CDB file entry.

Property detail

property GenericCommand.Arguments : tuple[str] | None

Gets the arguments.

property GenericCommand.Index : int | None

Gets the command index.

property GenericCommand.Name : str | None

Gets the command name.

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