06-28-2018, 09:36 PM
             
             
              Hi,
              
I have some code to create a shape:
shape = RDK.AddShape(triangles)
              
And I know how to create a tool:
robot.AddTool(mat, name)
              
But I can't work out how to make the shape become the tool. I want the same result as dragging the shape to the robot in the UI, but I need to use the API.
              
Thanks!
             
            I have some code to create a shape:
shape = RDK.AddShape(triangles)
And I know how to create a tool:
robot.AddTool(mat, name)
But I can't work out how to make the shape become the tool. I want the same result as dragging the shape to the robot in the UI, but I need to use the API.
Thanks!
 
              
              