Skip to main content

Mechanical scripting interface 2025

`BFECommand`

Last update: 09.03.2026

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

Bases: object

Represents a BFE command.

Overview

Properties

Name Description
Elem Gets the element number.
Index Gets the command index.
Lab Gets the label.
Name Gets the command name.
Stloc Gets the starting location.
ToCdbCommandString Gets the command text formatted as a CDB file entry.
ValCount Gets the number of values.
Values Gets the values.

Property detail

property BFECommand.Elem : int | None

Gets the element number.

property BFECommand.Index : int | None

Gets the command index.

property BFECommand.Lab : str | None

Gets the label.

property BFECommand.Name : str | None

Gets the command name.

property BFECommand.Stloc : int | None

Gets the starting location.

property BFECommand.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 BFECommand.ValCount : Any | None

Gets the number of values.

property BFECommand.Values : tuple[Any] | None

Gets the values.

Connect with Ansys