CommandRepository#

class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.FE.CommandRepository(iCommandRepository: Ansys.Common.Interop.FECommandsModel.ICommandRepository)#

Bases: object

Command repository.

Overview#

Equals

Equals method.

GetCommandByIndex

Gets the commands by index.

GetCommandName

Gets the name of commands of a type specified by params eCommandsType and index in the repository.

GetCommandNames

Gets the command names of a type specified by params eCommandsType and index in the repository.

GetCommandNamesCount

Gets the number of commands of a type specified by param=eCommandsType in the repository.

GetCommandsByName

Gets the commands by name.

GetHashCode

GetHashCode method.

GetType

GetType method.

ToString

ToString method.

Method detail#

CommandRepository.Equals(obj: Any) → bool#

Equals method.

CommandRepository.GetCommandByIndex(index: int) → Ansys.Common.Interop.FECommandsModel.ICommand#

Gets the commands by index.

CommandRepository.GetCommandName(eCommandsType: Ansys.ACT.Automation.Mechanical.FE.CommandsType, index: int) → str#

Gets the name of commands of a type specified by params eCommandsType and index in the repository.

CommandRepository.GetCommandNames(eCommandsType: Ansys.ACT.Automation.Mechanical.FE.CommandsType) → tuple[str]#

Gets the command names of a type specified by params eCommandsType and index in the repository.

CommandRepository.GetCommandNamesCount(eCommandsType: Ansys.ACT.Automation.Mechanical.FE.CommandsType) → int#

Gets the number of commands of a type specified by param=eCommandsType in the repository.

CommandRepository.GetCommandsByName(name: str) → Ansys.ACT.Automation.Mechanical.FE.CommandColl#

Gets the commands by name.

CommandRepository.GetHashCode() → int#

GetHashCode method.

CommandRepository.GetType() → type#

GetType method.

CommandRepository.ToString() → str#

ToString method.