Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Changing 'Active Tool' with Python

#1
Hello!

I have several tools mounted on the same robot. To work with them independently I use setVisible property, but I did not find how to change 'Active Tool' parameter with Python. Is it possible?

Thank you in advance!
#2
Yes, this is possible using setPoseTool(). You can set the active tool as an item or as a pose. You can also use setPoseFrame for reference frames.

More information here:
https://robodk.com/doc/en/PythonAPI/robo...etPoseTool
#3
Thank you!
#4
(02-19-2019, 11:49 AM)Albert Wrote: Yes, this is possible using setPoseTool(). You can set the active tool as an item or as a pose. You can also use setPoseFrame for reference frames.

More information here:
https://robodk.com/doc/en/PythonAPI/robo...etPoseTool

Hi Albert,

Seems like changing active tool does not work in C++. Could you please double check it?
#5
Are you using the latest version of RoboDK? Are you trying to set the tool as a pose or as a tool pointer?

It would be great if you can share a sample script file that shows the issue.

Thank you,

Albert
  




Users browsing this thread:
1 Guest(s)