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

Retrieve hidden target item

#1
Hello, my problem is, I have a program and I hide the targets connected to this program from the tree as in the image. And when I call the Target list, if there is no target in the tree, the list comes up empty, but that target was only hidden from the tree and not deleted. Is there a way to reach hidden targets after using the ShowTarget(false) command without making ShowTarget(true)?


Attached Files Image(s)
   
#2
When you hide the targets the target item is not valid anymore. If you want to retrieve the pose linked to a move instruction you can use the Instruction function on the program.

You can find an example here:
https://robodk.com/doc/en/PythonAPI/robo...AddProgram
  




Users browsing this thread:
1 Guest(s)