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

How to determine the active reference frame item?

#1
Hi, in the GUI, a green dot shows up on the icon of the active reference frame. How can this active reference frame item be determined via the API?

Best regards,

Maarten
#2
Hi Maarten,

frame_item = robot_item.getLink(ITEM_TYPE_FRAME) is what you're looking for.
You can also use robot_item.PoseFrame() if you only need the pose of the active frame.
Please read the Forum Guidelines before posting!
Find useful information about RoboDK by visiting our Online Documentation.
#3
Thanks, that works!
  




Users browsing this thread:
1 Guest(s)