parameters: (self,switchpatterns=None,unregister=None,switchtofat=None,clearpatterns=None,clearmodels=None,update=None)
return_statement: return self.prob.SendCommand(cmd)
docstring: See :ref:`module-taskmanipulation-switchmodels`
docstring_summary: See :ref:`module-taskmanipulation-switchmodels`
docstring_tokens: See : ref : module - taskmanipulation - switchmodels
function: def SwitchModels(self,switchpatterns=None,unregister=None,switchtofat=None,clearpatterns=None,clearmodels=None,update=None):
          """See :ref:`module-taskmanipulation-switchmodels`
          """
          cmd = 'switchmodels '
          if switchpatterns is not None:
              for pattern,filename in switchpatterns:
                  cmd += 'register %s %s '%(pattern,filename)
          if unregister is not None:
              for pattern in unregister:
                  cmd += 'unregister %s '%pattern
          if switchtofat is not None:
              cmd += 'switchtofat %d '%(switchtofat)
          if clearpatterns is not None and clearpatterns:
              cmd += 'clearpatterns '
          if clearmodels is not None and clearmodels:
              cmd += 'clearmodels '
          if update is not None:
              cmd += 'update %d '%update
          return self.prob.SendCommand(cmd)
function_tokens: def SwitchModels ( self , switchpatterns = None , unregister = None , switchtofat = None , clearpatterns = None , clearmodels = None , update = None ) : cmd = 'switchmodels ' if switchpatterns is not None : for pattern , filename in switchpatterns : cmd += 'register %s %s ' % ( pattern , filename ) if unregister is not None : for pattern in unregister : cmd += 'unregister %s ' % pattern if switchtofat is not None : cmd += 'switchtofat %d ' % ( switchtofat ) if clearpatterns is not None and clearpatterns : cmd += 'clearpatterns ' if clearmodels is not None and clearmodels : cmd += 'clearmodels ' if update is not None : cmd += 'update %d ' % update return self . prob . SendCommand ( cmd )