Hi guys,
I have the following problem. In my code I create planar surfaces which are transferred to Revit with the ImportInstance.ByGeometry
-Node. In Revit 2019 it works just fine, but in Revit 2021 the surfaces have wrong z-coordinates. The x- and y-coordinates are just fine. When I transfer the surfaces via DirectShape.ByGeometry
the z-coordinates are correct.
Does somebody know about this issue?
Here a picture of a fraction of my code:
The Surface.PerimeterCurves
-Node on the left shows the perimetercurves from the surfaces which are handed over to revit. In the middle are the ones obtained from the revit element created via ImportInstance.ByGeometry
and on the right from the DirectShape
-Node. X & Y are correct. Z is wrong for the ImportInstance
-Node. DirectShape
is just fine.