RobotStudio event

Create TCP from robtargets

Hi, Is it possible to create/modify the toolframe of a TCP from robtargets using the program code? Like how you can use robtargets when creating a tool in the tool definition window. Something similar to useing DefFrame to create a workobject user frame or object frame. e.g. myWObj.uframe:=DefFrame (pX1, pX2, pY1); I want the robot operator to be able to tune their tool to account for daily variation without needing a permanent point fixed in the robot cubicle.