08-02-2022, 04:18 PM
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
Best regards,
Maarten
How to determine the active reference frame item?
|
08-02-2022, 04:18 PM
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
08-03-2022, 12:04 PM
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.
08-03-2022, 01:47 PM
Thanks, that works!
|
Users browsing this thread: |
1 Guest(s) |