(09-18-2023, 09:03 AM)Albert Wrote: You should use setViewPose to update the position of the camera view:
https://robodk.com/doc/en/PythonAPI/robo...etViewPose
Example:
Code:
# retrieve the camera view:
pose = RDK.ViewPose()
# ...
# Set the camera view
RDK.setViewPose(pose)
Thank you very much for your guidance and explanation.
I have saved some views like in the figure and I want to go or move between these viewpoints in the python program I wrote based on the task schedule of the robots. And I did not understand how to declare these names (for example view 03-side) in the program. Unfortunately, there are not enough examples for some functions and methods in the RoboDK documentation. Is there a way that I can use these predefined viewpoints in my programming?