center loaded obj

Dec 9, 2011 at 6:30 PM


First of all - great work with Helix. Really good 3dViewPort!

But now question - is it possible, to "AutoFit" or "Center" object when loaded? When I load object (obj file) it shows "somewhere" in viewpost, and I have to scroll out until it shows :o Is it possible, to make it automaticly? like: Model3d.Camera.CenterToObject() or Model3dCamera.FitObjectToScreen()? 

Best wishes


Dec 9, 2011 at 6:44 PM

hi Chris, try the ZoomExtents() method on the HelixViewport3D. Or set ZoomExtentsWhenLoaded=true if the model was added before the view is loaded.

See all properties/methods of the control at

Dec 9, 2011 at 6:59 PM

:o ! It works! Solution was so close, but I was too lazy, to read all descriptions :P

Thx for help!