code: def cmd_wrapper(cmd_name, **kwds):
      
      cmd = si.Commands(cmd_name)
      if not cmd:
          raise Exception(cmd_name + " doesnt found!")
      for arg in cmd.Arguments:
          value = kwds.get(arg.Name)
          if value:
              arg.Value = value
      return cmd.Execute()
docs: Wrap and execute a softimage command accepting named arguments