Export Geometry / Mesh from Rhino to Revit through Rhino Inside Revit

From this thread, I know I can use “AddDirectShape.ByGeometry” to Export Geometry / Mesh from Rhino to Revit.

The problem of Directshape is that the material assigned to it is not persistent. Please find more details in here.

Is it possible to export Geometry / Mesh from Rhino to Revit using other formats, such as familyinstance so I can easily assign “persisitent” materials?

Thanks.

Hi,

I think there is no API to change a DirectShape Solid material but what is possible is recreate it and assign the material while you are doing that.
If I’m not wrong this material is persistent in all views unless you override it per view.
More info here

Anyway being able to generate families on the fly may be really useful for so many reasons like this one, but is still not possible. I’m aware I should explore more this other approach.

Hi,
I recently added support for materials in DirectShapes and DirectShapeTypes.

Hi there - interesting discussion! I have a slightly different problem and I am hoping you might be able to help?

I am trying to push the Analysis mesh created by Ladybug (has gradient colours applied to it) from Rhino/GH to Revit with Rhino inside, however, I am struggling to get it coloured the way it is in Rhino. Any ideas how this can be achieved?

Thanks

Danijel