Retrieve last command issued by a menu or toolbar with a specified command group definition. This is used for operations such as "repeat last place".
Return type: string
If a menu or button defined with a /comgroup specification is executed, the command executed is stored. This function retrieves the most recent with the specified comgroup value.
Menus and buttons used for placing components on a schematic are defined using the comgroup value 'place'. So GetLastCommand('place') always returns the command used for the most recent place operation.
|◄ GetLaplaceErrorMessage||GetLastError ▶|