#NEWLINE# def getAxisWeightValuesEvent( self ) : #NEWLINE# #INDENT# " getAxisWeightValuesEvent is called when the user selects 'Get Axis\n        Weight Values' from the axis button menu.  This method will create and\n        define a new variable / tab with the axis' weight values\n        " #NEWLINE# var = self . myParent . getVar ( ) #NEWLINE# axisVar = genutil . getAxisWeightByName ( var , self . axis . id ) #NEWLINE# axisVar . id = ( ( ( var . id + '_' ) + self . axis . id ) + '_weight' ) #NEWLINE# fileID = 'fid2' #NEWLINE# teachingCommand = ( '\n## Getting axis %s\n' % self . axis . id ) #NEWLINE# teachingCommand += ( '%s = genutil.getAxisWeightByName(%s["%s"], "%s")\n' % ( axisVar . id , fileID , var . id , self . axis . id ) ) #NEWLINE# teachingCommand += ( '%s.id = "%s"\n' % ( axisVar . id , axisVar . id ) ) #NEWLINE# self . myParent . defineVarAxis ( axisVar , teachingCommand )