FreeCAD Python wrapper of Command functions Get a given command by name or None if it doesn't exist. get(string) -> Command Update active status of all commands. update() -> None Returns the name of all commands. listAll() -> list of strings Returns a list of all commands, filtered by shortcut. listByShortcut(string, bool bUseRegExp=False) -> list of strings -- Shortcuts are converted to uppercase and spaces removed prior to comparison. Runs the given command. run() -> None Returns True if the command is active, False otherwise. isActive() -> bool Returns string representing shortcut key accelerator for command. getShortcut() -> string Sets shortcut for given command, returns bool True for success. setShortcut(string) -> bool Resets shortcut for given command back to the default, returns bool True for success. resetShortcut() -> bool Return information about this command. getInfo() -> list of strings -- Usage: menuText, tooltipText, whatsThisText, statustipText, pixmapText, shortcutText. Return the associated QAction object. getAction() -> list of QAction