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.

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.

Hi,

Since my first post, I found the ‘Organize Rhino Geometry into Revit Subcategories’ video:

I followed the steps and built a grasshopper file copying what was shown in the video:

My intention was to create sub-categories under the Revit main category ‘Casework’ that would make it easier to edit the object styles. The sub-categories creation has worked:

The problem is the import of the items referenced on that layer into Revit. The GH file shows a Revit component has been created:

Nothing shows in Revit:

If I ‘Select by ID’, an element has been created:

I’m hoping you’ll be able to shed some light on this issue as it’s been frustrating to say the least.

Thanks in advance,

Rob

@Rob28 Please check the Rhino units.

Hey Muhammad,

I’ve checked the units in Rhino:

And also in Revit:

I’m guessing that’s not the issue.

Regards,

Rob

Instead of creating family just use DirectShape Brep Component and check if the element is imported in Revit or No.

And to make the situation worse, I now have another issue:

can you share the file? internalize the Geometry.

The parameters are invalid because you are using the casework template which has predefined Depth and Width parameter. When creating custom families its recommended to use generic models family template.

Which file did you want me to share? I can’t share the Rhino model (NDA bound).

Rather than fix the above issues, perhaps I should explain what I’m trying to do.

I have a Rhino 3D model and I would like to transfer all elements (2141 block instances, 417 curves, 91 surfaces, 2579 polysurfaces, 529 extrusions, 592 meshes) to Revit. I have attempted to do this via Grasshopper using Rhino.Inside as shown above.

As there will be collaboration required with other companies , I wanted to create sub-categories within Revit (as you mentioned, perhaps the Generic Model family template would work best), and transfer elements from Rhino to Revit via GH layer by layer (I used one layer previously as a test to create the sub-category Auditorium Seating Rake).

I would like to take all geometry per layer in Rhino and transfer those elements to Revit using one of the sub-categories created for each layer (e.g. Auditorium Seating Rake, LED Screen, FOH elements, BOH Elements).

DWGs need to be exported from Revit so the sub-categories will allow for more control through object styles.

Does your Grasshopper automatically picks up Revit units or it shows a window thats says Rhino has no unit choose like Revit?

Also try the generics model family and lets us know if doesnt work.

Hey Muhammad,

Thank you for the email with the link to the RIR Community - I will look into that later.

As it stands, I was hoping for a solution to this issue - I followed the ‘Organize Rhino Geometry in Revit subcategories’ but did not get the same results.

I have attached an amended Rhino, Revit and GH files that I’ve used. It seems to generate more than one instance of each element and they are still not visible.

As you will see, the sub-categories have been created under Generic Models. The elements have been created - as I mentioned previously, Search by ID for any of the GH element numbers in Revit will highlight a pin.

Test Project.rvt (1.9 MB)

Test Project.3dm (6.8 MB)

Rhino Import to Revit.gh (15.7 KB)

Here’s hoping you guys can shed some light on why this isn’t working for me.

Thanks,

Rob

@Rob28 It worked. I just set the Overwrite Family option to True. Just be careful with the data structure otherwise you will mess up with the subcategories or you will not get all the required elements