Skip to main content

Mechanical scripting interface 2025

`BFBlockCommand`

Last update: 09.03.2026

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

Bases: object

Represents a BFBLOCK command.

Overview

Properties

Name Description
Format Gets the format.
Index Gets the command index.
IsDefinedFromTable Gets whether the values are defined using a table.
Lab Gets the label.
Name Gets the command name.
NodalBodyForceCount Gets the number of nodal body-force loads.
NodalBodyForces Gets the nodal body-force loads.
ToCdbCommandString Gets the command text formatted as a CDB file entry.

Property detail

property BFBlockCommand.Format : str | None

Gets the format.

property BFBlockCommand.Index : int | None

Gets the command index.

property BFBlockCommand.IsDefinedFromTable : bool | None

Gets whether the values are defined using a table.

property BFBlockCommand.Lab : str | None

Gets the label.

property BFBlockCommand.Name : str | None

Gets the command name.

property BFBlockCommand.NodalBodyForceCount : int | None

Gets the number of nodal body-force loads.

property BFBlockCommand.NodalBodyForces : tuple[Ansys.ACT.Automation.Mechanical.FE.CDB.CommandNodalBodyForce] | None

Gets the nodal body-force loads.

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