CPCommand#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.FE.CDB.CPCommand(iCPCommand: Ansys.Common.Interop.FEParsePlugin_ANSYS.ICPCommand)#

Bases: object

Represents a CP command.

Overview#

Equals

Equals method.

GetHashCode

GetHashCode method.

GetType

GetType method.

ToString

ToString method.

Dof

Gets the degree of freedom label.

FullName

FullName property.

Index

Gets the command index.

Name

Gets the command name.

Ncp

Gets the number of coupled nodes.

Nodes

Gets the nodes.

ToCdbCommandString

Gets the command text formatted as a CDB file entry.

Property detail#

property CPCommand.Dof: str | None#

Gets the degree of freedom label.

property CPCommand.FullName: str | None#

FullName property.

property CPCommand.Index: int | None#

Gets the command index.

property CPCommand.Name: str | None#

Gets the command name.

property CPCommand.Ncp: int | None#

Gets the number of coupled nodes.

property CPCommand.Nodes: tuple[int] | None#

Gets the nodes.

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

Method detail#

CPCommand.Equals(obj: Any) bool#

Equals method.

CPCommand.GetHashCode() int#

GetHashCode method.

CPCommand.GetType() type#

GetType method.

CPCommand.ToString() str#

ToString method.