Rhino.Inside.Revit parameter values mismatch?

Hi everyone,

I´d like to ask for help as we´ve come across rather interesting issue recently. For reason unknown to science the GH script is messing up numbers of elevation calculations (we believe).

Please take a look at attached picture. We have a model, which is localized in X,Y directions, but is set to base level Z = 0.0 m. The Rhino model is set to 0,0,0. To produce survey stake-out drawing, we add Survey Point Instances to Revit model with GH script (3D Polyline Nodes) and then acquire their locations to fill up X,Y,Z coordinates as instance parameters. When evaluating coordinates for survey point instances, we handle X & Y from Rhino by adding Revit Project Base Point X &Y information, while Z-coordinate of our points of interest are obtained directly from Rhino.

The instance position in plan and instance offset from Host (Base Level = 0.0) is correct, but GH script is not writing correct Z-values into instance parameters. If I move the polyline in Rhino in Z-direction by a margin, the offset is still reported correctly, but the Z-value is somehow random.

As this is ongoing project, I can share only with McNeel team through direct link, if you are interested in original data.

Any hint where to look for issues? Is it parameter definition issue?

Thank you very much in advance,

Pavel

Hi Pavel,

We will need to look at the file/script. You can upload to McNeel privately here . Thanks!