Hi Deepak, I'm looking to zoom to a part within an assembly, and then save the zoomed view as an image. When I use the command ModelView.ZoomToSelection() with the part I want to focus, SW leaves an space between the bounding box of my part and the window border. I would like to zoom more, so that my part fills the entire window.
This is what I get with ZoomToSelection():
This is what I want:
If I knew how SW calculates the margin it leaves maybe I could use the ZoomByFactor() command to eliminate it from the view.
I appreciate your help very much!