I’m placing area boundary lines and areas on an area plan using the C# component in Grasshopper (inside Revit). Managed to get it all to work except the project units are out of wack. Project units for my Revit project are in mm as is my Rhino/GH. The strange thing is that the 3d preview of the boundary lines/areas appear fine in a 3d view (Revit), however when I go to my area plan view its completely off (factor of mm to m). Please see attachments. Any help is appreciated on this- units have been tricky so far in Rhino.Inside.Revit!
It seems like it has something to do w/ the fact that Revit runs everything in feet in the background. (To clarify I am pulling a floor geometry from Revit into Rhino and then using that as my base. Then doing some stuff to that geometry in Rhino/GH and pushing it back into Revit - all in mm). After investigating a bit, if I scaled my geometry by 0.00328084 prior to pushing it into Revit, it comes in in the right place (conversion factor from mm to ft)…Would be interested in hearing cleaner solutions to this though! Thanks…
Ok thanks for the heads up. Out of curiosity when would that be? Also to get latest release there isn’t a way to ‘update’ my RIR, I have to re-download correct?
Hi @kike hope all is well. Thought I would circle back to this… Just downloaded the latest RIR… Previously ‘RIR.Convert.ToHost(curve)’ worked just fine for converting to a DB.Curve… Now it seems unhappy. Tried RIR.Convert.ToCurve(), among other things. Any additional thoughts on this?
@kike now looking at it with fresh eyes, understood! implementation changed to rhinocurve.ToCurve() as you mentioned rather than it being RIR.Convert.ToHost(rhinocurve)… Thanks for the help.