parameters: (self)
docstring: Execute when the command is called.
docstring_summary: Execute when the command is called.
docstring_tokens: Execute when the command is called .
function: def Activated(self):
          """Execute when the command is called."""
          super(Draft_Snap_Center, self).Activated()
  
          if hasattr(Gui, "Snapper"):
              status = Gui.Snapper.toggle_snap('Center')
              # change interface consistently
              sync_snap_toolbar_button("Draft_Snap_Center"+"_Button", status)
              sync_snap_statusbar_button("Draft_Snap_Center_Statusbutton", status)
function_tokens: def Activated ( self ) : super ( Draft_Snap_Center , self ) . Activated ( ) if hasattr ( Gui , "Snapper" ) : status = Gui . Snapper . toggle_snap ( 'Center' ) # change interface consistently sync_snap_toolbar_button ( "Draft_Snap_Center" + "_Button" , status ) sync_snap_statusbar_button ( "Draft_Snap_Center_Statusbutton" , status )