Skip to main content

Mechanical scripting interface 2025

`ShellSecBlockCommand`

Last update: 16.07.2025

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

Bases: object

Represents a shell SECBLOCK command.

Overview

Properties

Name Description
Index Gets the command index.
Layers Gets the layers.
Name Gets the command name.
ToCdbCommandString Gets the command text formatted as a CDB file entry.
Type Get the section type.

Property detail

property ShellSecBlockCommand.Index : int | None

Gets the command index.

property ShellSecBlockCommand.Layers : tuple[Ansys.ACT.Automation.Mechanical.FE.CDB.CommandLayer] | None

Gets the layers.

property ShellSecBlockCommand.Name : str | None

Gets the command name.

property ShellSecBlockCommand.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 ShellSecBlockCommand.Type : str | None

Get the section type.

Connect with Ansys