How make a compound roof using the Mass via rhino.inside.revit?

Hey.

I need to make a compound roof (or wall) using the Mass via rhino.inside.revit.

I bake a mass in Revit as a surface in the Mass category, but I can’t build a roof from this mass, for example.

Who knows what the mistake is? What am I doing wrong?

One more question: Is it possible to create a compound roof family in Revit via rhino.inside? If so, what components?

You are using a DirectShape element that is categoried as a Mass. So Revit does not see that as a Mass family instance. DirectShapes are great to bring complex geometry into Revit but they are only categorized under the given Revit category and do not adopt the behaviour. See this guide

Use the New Family component to create a Mass family and place the Brep inside the family. Then place an instance of this Mass family where you want:

Run the Grasshopper definition in an empty model and make sure the Masses are visible:

Family as Mass.gh (8.3 KB)

Revit_nU105R0uo3

Now Revit knows this is a Mass family and can pick up the surfaces:

avpxPS4H0M

2 Likes

Thanks a lot, Ehsan. A very detailed and comprehensive answer. Indeed, in this configuration, everything works fine.

If it doesn’t bother you, tell me if you can somehow automate the creation of a compound wall?

1 Like

Let me look into the API. Would you mind giving me a bit of info on how and where you’d use compound walls? Just so I know which APIs I should look for

1 Like

I’ll show you with an example. There are many separate fragments of a curved surface. Some of them are trimmed surface (not in the example). It is necessary to create a closed polysurface while maintaining the structure (multilayer).

example.gh (55.2 KB)

It takes a long time to build a wall on each surface.

Maybe this is the wrong way.

1 Like

Hi Ehsan. Maybe you have some ideas on how to solve this problem?

Okay try this. I have added two python components to query the necessary face references and then create "FaceWall"s from those references. I also had to manually add the “Generic” template to the family maker to make sure it is making generic families (so many 'make’s :sweat_smile:). and oh btw the source subd is a very small object just to get it working faster

Walls From Face Of New Mass.gh (17.7 KB)

2 Likes

Hello! Thanks for the solution. I’m trying to figure out why it doesn’t work for me, but I’m not good at Python. What am I doing wrong? I scaled the form, changed the wall type, but…

What’s the error on the python component?

1 Like

It worked! Thank you so much! I messed up with the template address.

1 Like

can you re upload the grasshopper script i am having issues as well

Thanks so much for this. Really starting to enjoy the power of RiR!

Hi @eirannejad ,

Does this mean that roof by face is now available in the Revit API?

If so, would it be possible to create a roof version of your wall by face python script?

Hi,

I’m trying to create a compound floor in Revit following the same principle mentioned by Ehsan, any idea how to modify the Python script?

Thanks!

The Floor by Face works a little differently, is that what you’re trying to do?

Hi Japhy, I’m modelling landforms and mounds in Rhino for many landscape projects and I’m trying to create a script that make compound floors from loft or patch surfaces. If with floors this is not possible I could use roof by face as well.

Hi Giulio, We added a Slab Shape Editor component for just that purpose.