Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to determine the active reference frame item?
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,

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.
Find useful information about RoboDK and its features by visiting our Online Documentation and by watching tutorials on our YouTube Channel.
Thanks, that works!

Users browsing this thread:
1 Guest(s)