parameters: (self)
docstring: sets the WP to top position and updates the GUI
docstring_summary: sets the WP to top position and updates the GUI
docstring_tokens: sets the WP to top position and updates the GUI
function: def setSide(self):
          """sets the WP to top position and updates the GUI"""
          self.alignToPointAndAxis(FreeCAD.Vector(0.0, 0.0, 0.0), FreeCAD.Vector(-1, 0, 0), 0.0)
          if FreeCAD.GuiUp:
              import FreeCADGui
              from draftutils.translate import translate
              if hasattr(FreeCADGui,"Snapper"):
                  FreeCADGui.Snapper.setGrid()
              if hasattr(FreeCADGui,"draftToolBar"):
                  FreeCADGui.draftToolBar.wplabel.setText(translate("draft", "Side"))
function_tokens: def setSide ( self ) : self . alignToPointAndAxis ( FreeCAD . Vector ( 0.0 , 0.0 , 0.0 ) , FreeCAD . Vector ( - 1 , 0 , 0 ) , 0.0 ) if FreeCAD . GuiUp : import FreeCADGui from draftutils . translate import translate if hasattr ( FreeCADGui , "Snapper" ) : FreeCADGui . Snapper . setGrid ( ) if hasattr ( FreeCADGui , "draftToolBar" ) : FreeCADGui . draftToolBar . wplabel . setText ( translate ( "draft" , "Side" ) )