Rhino Inside Revit - Placing Areas/Boundaries inside GH C# Component

Hi,

We have recently released a new version that implements automatic units conversion in all the geometry conversion routines.

New converters are in RhinoInside.Revit.Convert.Geometry namespace.
Names have changed from ToRhino and ToHost to more specific names.

For instance to convert a Rhino Point3d to a Revit XYZ the code is like this:

XYZ xyzPoint = point.ToXYZ();
XYZ xyzVector = vector.ToXYZ();

The other way around is:

Point3d point = xyz.ToPoint3d();
Vector3d vector = xyz.ToVector3d();

Same for curves, breps and meshes.

Please update and tell us if this helps you.

2 Likes