Message 1 of 5
Get BoundingBox in Survey Coordinate System

Not applicable
08-15-2018
04:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I am trying to get the bounding box corners of a window using the bounding box min and max of the window family instance. I have succeeded in getting the corners. Now I want to insert a face with those corners in revit. When I tried inserting, the face was inserted with some offset and rotation. I found that is because the face is inserted in Project based coordinates(base point). But I want them in survey point coordinates.
How can i convert from base point to survey point?
I have tried this, but didn't work.
ProjectLocation pl = doc.ActiveProjectLocation; Transform ttr = pl.GetTotalTransform().Inverse; LocationPoint loc = element.Location as LocationPoint; if (loc != null) { XYZ point = ttr.OfPoint(loc.Point); }