I'm working on a Windows Forms application written in C# and I would like to Zoom to an object in a 3D DWF file.
Currently I can isolate a given object, and "Select it" in the Objects grid. However, when I execute the "STANDARD_VIEW_FRONT" command on the Composite Viewer object, it executes this with the overall model as the camera target, instead of the selected object.
Note that if I press the FRONT view in the Cube in the DWF viewer, it zooms in on my object without me having to select it (as I've already done so programmatically).
How can I get my STANDARD_VIEW_FRONT command, or another command, to zoom in and focus on my selected object?
Thanks in advance.