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