CommandRepository#

class ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.FE.CommandRepository#

Bases: object

Command repository.

Overview#

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.

Method detail#

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.