Message 1 of 4

Not applicable
04-29-2016
06:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone !
I'm developping a plugin for Revit and i use view3D.GetOrientation() which is very usefull to get the upDirection and forwardDirection vectors. Unfortunatly this method works only with a view3D. Is there a method to get similar vector when the currend view is a 2D view ? For example i'm working on South Elevation view and i want the method to return
XYZ upDirection = new XYZ(0, 0, 1);
XYZ forwardDirection = new XYZ(0, 1, 0);
I could get every cases using a very huge Use Case but it would never fit every situatiuons.
Any hints ?
Thanks!
Solved! Go to Solution.