parameters: (self, is_copy)
docstring: Move the object.
docstring_summary: Move the object.
docstring_tokens: Move the object .
function: def move_object(self, is_copy):
          """Move the object."""
          _doc = 'FreeCAD.ActiveDocument.'
          _selected = self.selected_objects
  
          objects = '['
          objects += ', '.join([_doc + obj.Name for obj in _selected])
          objects += ']'
          Gui.addModule("Draft")
  
          _cmd = 'Draft.move'
          _cmd += '('
          _cmd += objects + ', '
          _cmd += DraftVecUtils.toString(self.vector) + ', '
          _cmd += 'copy=' + str(is_copy)
          _cmd += ')'
          _cmd_list = [_cmd,
                       'FreeCAD.ActiveDocument.recompute()']
  
          _mode = "Copy" if is_copy else "Move"
          self.commit(translate("draft", _mode),
                      _cmd_list)
function_tokens: def move_object ( self , is_copy ) : _doc = 'FreeCAD.ActiveDocument.' _selected = self . selected_objects objects = '[' objects += ', ' . join ( [ _doc + obj . Name for obj in _selected ] ) objects += ']' Gui . addModule ( "Draft" ) _cmd = 'Draft.move' _cmd += '(' _cmd += objects + ', ' _cmd += DraftVecUtils . toString ( self . vector ) + ', ' _cmd += 'copy=' + str ( is_copy ) _cmd += ')' _cmd_list = [ _cmd , 'FreeCAD.ActiveDocument.recompute()' ] _mode = "Copy" if is_copy else "Move" self . commit ( translate ( "draft" , _mode ) , _cmd_list )