06-28-2018, 09:36 PM
Hi,
I have some code to create a shape:
shape = RDK.AddShape(triangles)
我知道如何创建一个工具:
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)
我知道如何创建一个工具:
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!