PathScripts.PathToolController.ToolController Class Reference

Public Member Functions

def ensureUseLegacyTool (self, obj, legacy)
 
def execute (self, obj)
 
def getTool (self, obj)
 
def onDelete (self, obj, arg2=None)
 
def onDocumentRestored (self, obj)
 
def propertyEnumerations (self, dataType="data")
 
def setFromTemplate (self, obj, template)
 
def templateAttrs (self, obj)
 
def usesLegacyTool (self, obj)
 

Member Function Documentation

◆ ensureUseLegacyTool()

def PathScripts.PathToolController.ToolController.ensureUseLegacyTool (   self,
  obj,
  legacy 
)

◆ execute()

◆ getTool()

def PathScripts.PathToolController.ToolController.getTool (   self,
  obj 
)
returns the tool associated with this tool controller

◆ onDelete()

def PathScripts.PathToolController.ToolController.onDelete (   self,
  obj,
  arg2 = None 
)

◆ onDocumentRestored()

def PathScripts.PathToolController.ToolController.onDocumentRestored (   self,
  obj 
)

◆ propertyEnumerations()

def PathScripts.PathToolController.ToolController.propertyEnumerations (   self,
  dataType = "data" 
)
helixOpPropertyEnumerations(dataType="data")... return property enumeration lists of specified dataType.
Args:
    dataType = 'data', 'raw', 'translated'
Notes:
'data' is list of internal string literals used in code
'raw' is list of (translated_text, data_string) tuples
'translated' is list of translated string literals

Referenced by PathScripts.PathDrilling.ObjectDrilling.initCircularHoleOperation(), PathScripts.PathThreadMilling.ObjectThreadMilling.initCircularHoleOperation(), PathScripts.PathAdaptive.PathAdaptive.initOperation(), PathScripts.PathDeburr.ObjectDeburr.initOperation(), PathScripts.PathMillFace.ObjectFace.initPocketOp(), PathScripts.PathPocket.ObjectPocket.initPocketOp(), PathScripts.PathJob.ObjectJob.onDocumentRestored(), and PathScripts.PathWaterline.ObjectWaterline.opOnDocumentRestored().

◆ setFromTemplate()

def PathScripts.PathToolController.ToolController.setFromTemplate (   self,
  obj,
  template 
)

◆ templateAttrs()

def PathScripts.PathToolController.ToolController.templateAttrs (   self,
  obj 
)

◆ usesLegacyTool()

def PathScripts.PathToolController.ToolController.usesLegacyTool (   self,
  obj 
)

The documentation for this class was generated from the following file: