Different Coordinate System for ReferenceIntersector?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear all,
Since a few days i facing a rather strange issue. ReferenceIntersector started returning off-the-chart values (Eg: Referring a floor that is at elevation of 22ft per ProjectBasePoint, it reported -24ft in Reference.GlobalPoint & it's geometry coordinates) for a particular Revit project (works well for other projects).
My understand, with which i am battling the problem: ProjectBasePoint (PBP) and SurveyPoint (SP) are two exposed coordinate system which are ‘linchpined’ on internal coordinate system (aka Origin Point, Project Internal in different articles).
Particulars related to the problem (w.r.t the troubled projects):
- Most of the Revit API (for instance, Elevation value of a Level) reports value that can be reconciled with PBP in Revit UI. However, ReferenceIntersector seems to be returning value that i couldn't reconcile (-24ft as i mentioned for instance).
- A functional Revit thread discusses about Topography affecting coordinate system.
Indeed, all the the troubled projects do host topography. Maybe a cause or may as well be a coincidence. Though to report. - Value returned by ReferenceIntersector, is equivalent to Spot Elevation (origin = Relative, Relative base = CurrentLevel) value reported in 3D View.
What i am looking for is:
- (for understanding) Can someone shed flood light on the origins and mechanism around it?
What value Relative SpotElevation is meant to report when set to CurrentLevel and viewed in 3D View? When a SpotElevations (with origin as SP, PBP, and Relative) report three different values in a 3D or Elevation view, how are they associated with each other, how can one reconcile one another? - (for confirmation) Is it indeed true that Topography elements in main model messes with Revit Origin systems? Ref: forum thread i mentioned above.
- (core question) Jeremy said in this blog, “I'm 99.9% sure it's PI” (about project internal being used for API interactions). Does ReferenceIntersector falls into the 0.1% of items?
- (core question) Most importantly, what handles do API user have to reconcile values returned by ReferenceIntersector with other api functions?
- (for knowledge) Do anyone know of other (other than ReferenceIntersector) API constructs that would use coordinate system/origin other than the main internal one which is used by rest of the API functions?
I have tried to abstract crux of complex situation, please let me know if i have missed any important aspect or if more information in required.
Any explanation, relevant reference links will be hugely helpful and highly appreciated. Looking forward.
Best regards,
Kinjal.
Fullstack developer @ Dwaravati
Delivering high quality programmatic boosts for your already beautiful Revit
