Reading ViewOrientation3D from an Active Isometric View

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have a problem I need to solve, I want to create an application that automatically generates floorplans from levels.
Creating the 3D views, the section boxes and reading the levels this seems to go all smoothly using the API.
However I dont seem to be able to find a way to GET the current ViewOrientation3D property values (eye, up, forward) settings. So I can set these and then copy them to each new 3D view created, a new 3D view seems to just open on default settings and the API manual seens to give any way of providing this.
So i'm looking for a working code like:
XYZ eye = new XYZ(ActiveView.ViewOrientation3D.eye);
XYZ up = new XYZ(ActiveView.ViewOrientation3D.up);
XYZ forward = new XYZ(ActiveView.ViewOrientation3D.forward);
ViewOrientation3D new3dviews = new ViewOrientation3D(eye, up, forward);
I know this code cant work now, but just to be clear:
I'm looking for a way to READ the current ViewOrient3D settings (if ViewType = ViewType.ThreeD of course) so I can copy them to the next created 3D isometric view.
Thanks