MPCommand#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.FE.CDB.MPCommand(iMPCommand: Ansys.Common.Interop.FEParsePlugin_ANSYS.IMPCommand)#

Bases: object

Represents a MP command.

Overview#

Equals

Equals method.

GetHashCode

GetHashCode method.

GetType

GetType method.

ToString

ToString method.

C0

Gets the temperature-independent term of the property.

C1

Gets the coefficient of the linear term in the property-versus-temperature polynomial.

C2

Gets the coefficient of the quadratic term in the property-versus-temperature polynomial.

C3

Gets the coefficient of the cubic term in the property-versus-temperature polynomial.

C4

Gets the coefficient of the quartic term in the property-versus-temperature polynomial.

FullName

FullName property.

Index

Gets the command index.

Lab

Gets the label.

Mat

Gets the material number.

Name

Gets the command name.

ToCdbCommandString

Gets the command text formatted as a CDB file entry.

Property detail#

property MPCommand.C0: float | None#

Gets the temperature-independent term of the property.

property MPCommand.C1: float | None#

Gets the coefficient of the linear term in the property-versus-temperature polynomial.

property MPCommand.C2: float | None#

Gets the coefficient of the quadratic term in the property-versus-temperature polynomial.

property MPCommand.C3: float | None#

Gets the coefficient of the cubic term in the property-versus-temperature polynomial.

property MPCommand.C4: float | None#

Gets the coefficient of the quartic term in the property-versus-temperature polynomial.

property MPCommand.FullName: str | None#

FullName property.

property MPCommand.Index: int | None#

Gets the command index.

property MPCommand.Lab: str | None#

Gets the label.

property MPCommand.Mat: int | None#

Gets the material number.

property MPCommand.Name: str | None#

Gets the command name.

property MPCommand.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#

MPCommand.Equals(obj: Any) bool#

Equals method.

MPCommand.GetHashCode() int#

GetHashCode method.

MPCommand.GetType() type#

GetType method.

MPCommand.ToString() str#

ToString method.