Location Missmatch of Element and its geometry/bounding box

Hello Everyone,

I´ve run into an interesting Issue with my RiR code and I can not understand why this is happening.
Im querying elements from Revit and at first, the geometry seems to be at the correct location.

When I use the “Geometry” or “BoundingBox” node it is twice the distance from the origin. When I use Element Location after the “Geometry” node, it shows the Correct location again.

When I use “Element Geometry” the Preview of the Elements and the Breps are the same but the bounding box is in the correct location.
Here is a screenshot of my test setup:

…and the Test Files:
Project1.rvt (876 KB)
Element_Location_missmatch_test.gh (14.9 KB)

The geometry in my family is placed at its origin. I have no explanation for this behavior and I think it is a bug. I have a workaround to make my code work but some insight into why this is happening would be great! @Japhy

Not seeing it here. Am i missing something?

Interesting! I am running Revit 24 and Rhino 7 maybe it has to do with the versions?

I checked with Rhino 8 too, same Problem, same code.

Rhino8 version

There are a number of updates, do note that you will need to upgrade your Revit 2024.3 due to critical fixes they put in. We set that as a minimum requirement due to the destructive nature of the schema bug.

https://www.rhino3d.com/download/rhino.inside-revit/1/latest/

https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Schema-Conflicts-with-DatasmithRevitExportSettings-and-DataStorageUniqueId-in-Revit-2024-1.html

2 Likes

Thanks for the insight! I guess I will have to wait for our update to rvt25.