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.
Thank you for your question.
I have added your request in our database. We will consider this request for possible inclusion in future releases.
Please let me know if I can be of any further help.