CMCommand#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.FE.CDB.CMCommand(iCMCommand: Ansys.Common.Interop.FEParsePlugin_ANSYS.ICMCommand)#

Bases: object

Holds definitions for the CM Command from APDL used in External Model. This command groups geometry items into a component.

Overview#

Equals

Equals method.

GetHashCode

GetHashCode method.

GetType

GetType method.

ToString

ToString method.

Cname

Gets the component name defined in the CM Command.

FullName

FullName property.

Index

Gets the command index.

Name

Gets the command name.

ToCdbCommandString

Gets the command text formatted as a CDB file entry.

Type

Gets the label identifying the type of geometry items to be grouped:

Property detail#

property CMCommand.Cname: str | None#

Gets the component name defined in the CM Command.

property CMCommand.FullName: str | None#

FullName property.

property CMCommand.Index: int | None#

Gets the command index.

property CMCommand.Name: str | None#

Gets the command name.

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

Gets the label identifying the type of geometry items to be grouped: (NODE, ELEM, VOLU…). Refer to MAPDL documentation for more information about the entity type.

Method detail#

CMCommand.Equals(obj: Any) bool#

Equals method.

CMCommand.GetHashCode() int#

GetHashCode method.

CMCommand.GetType() type#

GetType method.

CMCommand.ToString() str#

ToString method.