CPCommand# class ansys.mechanical.stubs.v251.Ansys.ACT.Automation.Mechanical.FE.CDB.CPCommand(iCPCommand: Ansys.Common.Interop.FEParsePlugin_ANSYS.ICPCommand)# Bases: object Represents a CP command. Overview# Methods Equals Equals method. GetHashCode GetHashCode method. GetType GetType method. ToString ToString method. Properties Dof Gets the degree of freedom label. Index Gets the command index. Name Gets the command name. Ncp Gets the number of coupled nodes. Nodes Gets the nodes. Property detail# property CPCommand.Dof: str | None# Gets the degree of freedom label. 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. Method detail# CPCommand.Equals(obj: Any) → bool# Equals method. CPCommand.GetHashCode() → int# GetHashCode method. CPCommand.GetType() → type# GetType method. CPCommand.ToString() → str# ToString method.