Rebar Surface Breaks When Imported into Revit via DirectShape

Hi all,

I’m using Rhino.Inside.Revit to import some rebars into Revit. For a few specific rebars, if I send the geometry directly into the DirectShape (Geometry) component, I get an error saying “BRepBuilder cannot assign edge geometry for edge xxx.”
The imported rebar in Revit also looks wrong: the surface appears broken and shows some strange curves.

I suspected it might be because the “cylinder” has only one seam, so I split the cylinder in Rhino, giving it two seams so it becomes two separate surfaces. However, even when I import the surface individually, I no longer get the error, but the surface in Revit still appears broken in the same location. The surface looks normal in Rhino.

Has anyone encountered this issue before?

I’m using Rhino 8, Revit 2024 and RIR 1.29.9186.27799

Files:

rebar.rvt (540 KB)

single_rebar.gh (18.2 KB)

single_rebar.3dm (173.0 KB)

Thank you in advance!

Revit isn’t able to hand the geometry (converted to Sat)

In a MM file it did come through though.

Thank you, Japhy!

I converted it to millimetre units, but the rebar in Revit still seems broken, and the way it breaks looks different depending on the viewing angle. Is there anything I might be missing?

@Clara_W How about you create a native Rebar Element Rather than just creating DirectShape