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!


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.


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