def get_info(): """Return info on current pyRevit command. Returns: :obj:`pyrevit.extensions.genericcomps.GenericUICommand`: Command info object """ from pyrevit.extensions.extensionmgr import get_command_from_path return get_command_from_path(EXEC_PARAMS.command_path)
def info(self): from pyrevit.extensions.extensionmgr import get_command_from_path return get_command_from_path(COMMAND_PATH)