Zoom to GUID

Is there a way to zoom to GUID, without the object being selected using python?
I know that there is ZoomSelected, but I am running a loop over some GUIDs and it would be nice to punch in on an object while the command is running.
Thank you!

Hello,

you can try methods such as SetCameraLocation part of RhinoViewport class. Retreive the bounding-box of your object and move the view to its center. You may also zoom based on the bb.

https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Display_RhinoViewport_SetCameraLocation.htm

@TomTom, Thank you for the suggestion. I’ll give this a try.