Rhino 6 Page Zoom

Hi,

I was wondering how to properly zoom on a particular object following the Add Layout Sample:

and using ZoomExtensSelected or ZoomBoundingBox…because it didnt work at first…I found the solution in another post and I wrote it bellow (if you are dealing with the same problem)…I would suggest to the admins to delete this topic because it kind of already exists…sorry…

As one of the earlier posts suggested…the solution is to simply to add detail.CommitViewportChanges …I would delete this topic, because it addresses the same problem, but I do not think that is possible…? So I will leave it to the admins…