parameters: (self)
docstring: Set the trackers.
docstring_summary: Set the trackers.
docstring_tokens: Set the trackers .
function: def setTrackers(self):
          """Set the trackers."""
          v = Draft.get3DView()
          if v and (v != self.activeview):
              if v in self.trackers[0]:
                  i = self.trackers[0].index(v)
                  self.grid = self.trackers[1][i]
                  self.tracker = self.trackers[2][i]
                  self.extLine = self.trackers[3][i]
                  self.radiusTracker = self.trackers[4][i]
                  self.dim1 = self.trackers[5][i]
                  self.dim2 = self.trackers[6][i]
                  self.trackLine = self.trackers[7][i]
                  self.extLine2 = self.trackers[8][i]
                  self.holdTracker = self.trackers[9][i]
              else:
                  if Draft.getParam("grid", True):
                      self.grid = trackers.gridTracker()
                      self.grid.on()
                  else:
                      self.grid = None
                  self.tracker = trackers.snapTracker()
                  self.trackLine = trackers.lineTracker()
                  if self.snapStyle:
                      c = Gui.draftToolBar.getDefaultColor("snap")
                      self.extLine = trackers.lineTracker(scolor=c)
                      self.extLine2 = trackers.lineTracker(scolor=c)
                  else:
                      self.extLine = trackers.lineTracker(dotted=True)
                      self.extLine2 = trackers.lineTracker(dotted=True)
                  self.radiusTracker = trackers.radiusTracker()
                  self.dim1 = trackers.archDimTracker(mode=2)
                  self.dim2 = trackers.archDimTracker(mode=3)
                  self.holdTracker = trackers.snapTracker()
                  self.holdTracker.setMarker("cross")
                  self.holdTracker.clear()
                  self.trackers[0].append(v)
                  self.trackers[1].append(self.grid)
                  self.trackers[2].append(self.tracker)
                  self.trackers[3].append(self.extLine)
                  self.trackers[4].append(self.radiusTracker)
                  self.trackers[5].append(self.dim1)
                  self.trackers[6].append(self.dim2)
                  self.trackers[7].append(self.trackLine)
                  self.trackers[8].append(self.extLine2)
                  self.trackers[9].append(self.holdTracker)
              self.activeview = v
  
          if self.grid and (not self.forceGridOff):
              self.grid.set()
function_tokens: def setTrackers ( self ) : v = Draft . get3DView ( ) if v and ( v != self . activeview ) : if v in self . trackers [ 0 ] : i = self . trackers [ 0 ] . index ( v ) self . grid = self . trackers [ 1 ] [ i ] self . tracker = self . trackers [ 2 ] [ i ] self . extLine = self . trackers [ 3 ] [ i ] self . radiusTracker = self . trackers [ 4 ] [ i ] self . dim1 = self . trackers [ 5 ] [ i ] self . dim2 = self . trackers [ 6 ] [ i ] self . trackLine = self . trackers [ 7 ] [ i ] self . extLine2 = self . trackers [ 8 ] [ i ] self . holdTracker = self . trackers [ 9 ] [ i ] else : if Draft . getParam ( "grid" , True ) : self . grid = trackers . gridTracker ( ) self . grid . on ( ) else : self . grid = None self . tracker = trackers . snapTracker ( ) self . trackLine = trackers . lineTracker ( ) if self . snapStyle : c = Gui . draftToolBar . getDefaultColor ( "snap" ) self . extLine = trackers . lineTracker ( scolor = c ) self . extLine2 = trackers . lineTracker ( scolor = c ) else : self . extLine = trackers . lineTracker ( dotted = True ) self . extLine2 = trackers . lineTracker ( dotted = True ) self . radiusTracker = trackers . radiusTracker ( ) self . dim1 = trackers . archDimTracker ( mode = 2 ) self . dim2 = trackers . archDimTracker ( mode = 3 ) self . holdTracker = trackers . snapTracker ( ) self . holdTracker . setMarker ( "cross" ) self . holdTracker . clear ( ) self . trackers [ 0 ] . append ( v ) self . trackers [ 1 ] . append ( self . grid ) self . trackers [ 2 ] . append ( self . tracker ) self . trackers [ 3 ] . append ( self . extLine ) self . trackers [ 4 ] . append ( self . radiusTracker ) self . trackers [ 5 ] . append ( self . dim1 ) self . trackers [ 6 ] . append ( self . dim2 ) self . trackers [ 7 ] . append ( self . trackLine ) self . trackers [ 8 ] . append ( self . extLine2 ) self . trackers [ 9 ] . append ( self . holdTracker ) self . activeview = v if self . grid and ( not self . forceGridOff ) : self . grid . set ( )