Shared Coordinate System - Definition

Shared Coordinate System - Definition

Dale.Bartlett
Collaborator Collaborator
4,760 Views
21 Replies
Message 1 of 22

Shared Coordinate System - Definition

Dale.Bartlett
Collaborator
Collaborator

I am receiving the (common) message "document and the imported instance do not share the same coordinate system". I am curious as to how this is registered in the Revit database. A coordinate system is simply an origin (XYZ) and a rotation. Given that the coord system can be passed ("acquired") from model to model, how is it defined or different? How does Revit know that it is not the same system, or in fact, what constitutes the same? I am not referring to named locations.




______________
Yes, I'm Satoshi.
0 Likes
Accepted solutions (1)
4,761 Views
21 Replies
Replies (21)
Message 21 of 22

jeremytammik
Autodesk
Autodesk

Dear Dale,

 

Thank you for your persistence, patience and gentle bumping.

 

Unfortunately, however, I have had no further feedback from the development team since the end of their last discussion with you captured in the ticket CF-3730 [API wish: determine 'doc and imported instance do not share coordinate system'], wrapping up with:

 

... As far as shared coordinates go, this is the only way. A GUID-based relationship is set up between the files. Setting up the same relationship has been possible via the API via Document.AcquireCoordinates() for several releases, beginning with Revit 2018.

 

With 2018's SiteLocation.IsCompatibleWith() it is also possible to identify if two coordinate systems are the same.

 

At this point there is nothing more to do at the API level since there is full exposure of the existing Revit functionality.

 

It is also possible to do what Dale is requesting using Revit coordinates by avoiding using "By Shared Coordinates" when linking in links.

 

Therefore I am closing this request as implemented in 2018 since that's when the last piece was added.

 

I hope this clarifies.

 

Best regards,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 22 of 22

Bogdan1896
Enthusiast
Enthusiast

Hello, Jeremy,
I found this discussion while searching for an answer to exactly the same question that was raised here.
Tell me, in 2024, has the ability to unequivocally identify two files with the same common coordinates through the API appeared?

---
Sorry, I didn’t see your reply on the second page😅

0 Likes