Layer names (Rhino) to create Model Object Categories using Rhino.Inside?

I am new to Inside.Rhino and GrassHopper but I have managed to put together a very basic process to get elements from Rhino to Revit using an existing category in Revit:

Repeating that process for every layer in Rhino will create the elements in Revit but uses an existing Revit Model Object Style. I would like to use the layer names in a Rhino 7 model to create new Model Object Styles in Revit during the export of the geometry for the objects on those layers.

Is this possible? Thanks.

Hi Rob, Unfortunately adding a SubCategory to a DirectShape isn’t a feature in Revit.

See the DirectShape Guide for additional details.

Hey Japhy - thanks for the speedy reply. I suspected as much but wanted to defer to those with more expertise.

One other question - seeing that DirectShape isn’t an option, is there any other way to achieve the end result I’m looking for?

Thanks.

You can add a subcategory to a brep using the Component Family Form component, which then can be added to a Family.

Here i created 10 families with a Brep on a Subcategory.


RiR-R7-Subcats.gh (12.8 KB)

Once a SubCategory is created you can pick using the method shown.

Thanks Japhy - much appreciated. I’ll give it a try and let you know how I get on.

1 Like

Hi @Japhy , how about assigning subcategories to free form elements from the add form component? This doesnt seem to be working whether I try from the ‘Component Family Form’ or from the element parameter


image

Hi Irayap28,

This looks to be a casting issue in the family document on our side.

Using the Component Family Form > New Component Family is the current viable workflow for assigning a Subcategory Brep.

Thank you for your reply Japhy, is there a workaround to adding a freeform element directly to a family with a sub category?

Only when created via the New Component Family method.