CommandRepository#

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

Bases: object

Command repository.

Overview#

GetCommandsByName

Gets the commands by name.

GetCommandByIndex

Gets the commands by index.

GetCommandNamesCount

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

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.

Method detail#

CommandRepository.GetCommandsByName(name: System.String) Ansys.ACT.Automation.Mechanical.FE.CommandColl

Gets the commands by name.

CommandRepository.GetCommandByIndex(index: System.Int32) Ansys.Common.Interop.FECommandsModel.ICommand

Gets the commands by index.

CommandRepository.GetCommandNamesCount(eCommandsType: Ansys.ACT.Automation.Mechanical.FE.CommandsType) System.Int32

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

CommandRepository.GetCommandName(eCommandsType: Ansys.ACT.Automation.Mechanical.FE.CommandsType, index: System.Int32) System.String

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) System.Collections.Generic.IReadOnlyList[System.String]

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