AFXGuiCommand

This class is designed for the GUI commands processed by modes.


AFXGuiCommand(mode, method, objectName='', registerQuery=False)

Constructor.

ArgumentTypeDefaultDescription
modeAFXGuiMode Host mode.
methodString Method.
objectNameString''Object name.
registerQueryBoolFalseTrue if a query should be registered so that the command's keyword values can be updated based on the kernel state.


expandObjectName(objectName)

Expands the object name by replacing all the "%s"'s with the current names.

ArgumentTypeDefaultDescription
objectNameString Object name set by the client code.


getMode()

Retrieves the command's mode.