How to zoom to selected features (3D) in arcgis desktop application (.net sdk).

Discussion created by akmuzammil on Oct 2, 2010
Dear All,

I have a custom command built using .net sdk (c#), in arcmap. On clicking it, I open a new form containing arcgis engine controls like scenecontrol to display 3D data.

Now, how do I zoom to selected features (3D features selection set) programmatically.

A sample code will help actually.

I have tried getting the envelope of all features in selection set. But I am not able to assign envelope to scene extent.

PLease let me know how to accomplish this.

Thank you.