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.
Please read the Forum Guidelines before posting!
Find useful information about RoboDK by visiting our Online Documentation.
08-03-2022, 01:47 PM
Thanks, that works!
|
Users browsing this thread: |
1 Guest(s) |