# Importing Dynamo Geometry into Revit as a Mass

**URL:** <https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471>\
**Category:** Revit\
**Created:** [January 31, 2019, 8:43am UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471 "2019-01-31T08:43:57Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![JJUlkins](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@JJUlkins](https://forum.dynamobim.com/u/JJUlkins)\
**Post date:** [January 31, 2019, 8:43am UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/1 "2019-01-31T08:43:57Z")

</div>

Hi everyone,  
This is a basic question but took my days. I looked at the forum but couldn’t find my solution, so forgive me if I’m wrong. I’m trying to import the geometry I have in Dynamo to Revit but no luck. If I use ImportInstance.ByGeometry, solids come as symbols which cannot be attained materials.  
[https://forum.dynamobim.com/t/importing-geometry-in-revit/872](https://forum.dynamobim.com/t/importing-geometry-in-revit/872)  
Here they also mentioned it.

What I basically want to have is to import this geometry and color them as I want inside Revit. I even tried to use Springs.FamilyInstance.ByGeometry, so I created a conceptual mass family. Even the graph looks like working with no error the geometry is not visible in the view. I checked visibility and everything looks ok.  
What I should do? How can I import these geometries into Revit just like they are created as conceptual in-place masses?

![Mass%20Ghost%20in%20Revit](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/3X/f/d/fde19f56a90a894e584974554184866d0fb23990.jpeg)

![Mass%20Dynamo](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/3X/a/a/aa38389f0637cad50903151403a58a41c3bf884a.jpeg)

//This is another thread though 🙂 :  
I’m saying in-place mass because I couldn’t find a way to parameterize it. I created instance parameters inside this conceptual mass to change the material but when I import them into Revit, mass family like this only can have one material controlled by object styles and need manual modification. But in-place masses can be given any color that defined in the materials. I’d appreciate your assistance on this subject as well.

![Concept%20Mass](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/3X/6/f/6f7fc24bf1eb48345a2662b8d38df170d0e14fd5.jpeg)

I also tried to create a generic model family to be parametrical but couldn’t do it in that way either.

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [January 31, 2019, 9:13am UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/2 "2019-01-31T09:13:23Z")

</div>

Hey,

You have a lot of stuff going on in this post 🙂 maybe split it out?

a couple of things…

> the geometry is not visible in the view. I checked visibility and everything looks ok

Just to double check that the visibility mass box is checked in your view settings?

`to import this geometry and color them as I want inside Revit`

The Springs node states that it will only use the material if it exists in the family template.

Could you post your files for us to look at?

Hope that helps,

Mark

---

<div class="post-metadata">

**Author:** ![JJUlkins](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@JJUlkins](https://forum.dynamobim.com/u/JJUlkins)\
**Post date:** [January 31, 2019, 9:58am UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/3 "2019-01-31T09:58:50Z")

</div>

Mark hi 🙂  
You are right, it’s my bad I wrote it too complicated. I basically want to get the Dynamo Cuboids inside my Revit project file as masses or generic models.  
For now, I’ll color them inside Revit. In the later stages, I might try to parameterize the color issue but now it’s simple.

I checked the visibility box. It’s ok and visible.

I attached a basic Dynamo sample file since my own project file is too big. It can be experimented on any Revit floor surfaces. I selected a floor face for an example.

[Cuboids to Revit.dyn](https://forum.dynamobim.com/uploads/short-url/1CTuL0Q5E60n6gaj1knTfY0XSoB.dyn) (25.3 KB)

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [January 31, 2019, 10:32am UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/4 "2019-01-31T10:32:34Z")

</div>

Hey,

It seems to work for me…

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/c/ecfb752f1d5f8ccf4a4d3d3a7cbbb28e746bdc7a.png)

Edit: Though if I try to edit the family there doesn’t seem to be any geometry? Maybe @Dimitar_Venkov can help?  
[Cuboids to Revit-MKA.dyn](https://forum.dynamobim.com/uploads/short-url/zJ8EHKUn2sKDXD6dKyx16YXh5Lc.dyn) (40.1 KB)

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [January 31, 2019, 10:46am UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/5 "2019-01-31T10:46:16Z")

</div>

maybe directshape it first

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [January 31, 2019, 11:07am UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/6 "2019-01-31T11:07:42Z")

</div>

Hi Marcel,

Sorry but the only Direct Shape methods I know are to bring the geometry into Revit, I don’t know how it can be done first?

Also, I don’t believe the Direct Shape can then be edited as a family afterwards? You can’t add parameters etc… Unless I am missing something?

Cheers,

Mark

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [January 31, 2019, 11:14am UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/7 "2019-01-31T11:14:29Z")

</div>

you are probably right,  
i can’t test  
no revit here. i do it all from memory these days  
sorry

---

<div class="post-metadata">

**Author:** ![JJUlkins](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@JJUlkins](https://forum.dynamobim.com/u/JJUlkins)\
**Post date:** [January 31, 2019, 11:39am UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/8 "2019-01-31T11:39:39Z")

</div>

Thanks for the answer,  
I used your graph and changed the material name after I created one with the same family name, changed material name only to “DefaultBlue” which I set in the material browser.  
But after that, it did not give me colored boxes. Still transparent even ‘realistic view’ is open and masses are visible. I know I can modify it from ObjectStyles but I want to be able to apply various, different colors to these masses. Do you know any way to apply like this?

Maybe, - I thought - masses don’t give us the chance to colorize them unless they are worked inside a conceptual mass file. That would be great if I could get the families like you extracted but could them be given materials through instance parameters. I attached the generic model I did for this purpose. So later I can also edit their width, depth and height parameters whenever needed inside the Revit or by setting values in Dynamo.  
[Equipment Solid.rfa](https://forum.dynamobim.com/uploads/short-url/7lp49YpqkdNdKFkc4AEffsMcGKg.rfa) (368 KB)

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [January 31, 2019, 11:46am UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/9 "2019-01-31T11:46:56Z")

</div>

Hey,

As mentioned above, the material has to exist in the template file first?

So edit your template, add the materials, then run it…

Or work out how to add materials to templates from Dynamo 😃

Cheers,

Mark

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [January 31, 2019, 11:48am UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/10 "2019-01-31T11:48:36Z")

</div>

to get the materials inside the family you can transfer project standards (just materials ticked), that way they are the same too

---

<div class="post-metadata">

**Author:** ![JJUlkins](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@JJUlkins](https://forum.dynamobim.com/u/JJUlkins)\
**Post date:** [January 31, 2019, 11:54am UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/11 "2019-01-31T11:54:42Z")

</div>

I tested DirectShape also but as @Mark.Ackerley said material parameter couldn’t be added to that. Bc, it simply doesn’t get any family template inputs.  
Here are the results:

 ![DirectShape](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/b/7b3d689b32330b3051335eff7b00b993d840558e.jpeg)  
 ![No%20Material](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/9/e91cb976afe52a82f5a9d882f740141c494e145d.jpeg)  
Just one color can be added that way.

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [January 31, 2019, 12:06pm UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/12 "2019-01-31T12:06:24Z")

</div>

create more familytypes (blue,green,yellow)??  
color by filter? (typeName equals)?

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [January 31, 2019, 12:10pm UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/13 "2019-01-31T12:10:18Z")

</div>

If I create them as Generic Models, they can then be edited within the family and they have materials…

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/7/57f76db92c77f128136c72ed70b496564bc6dc1b.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/c/1cd76ff27aeb5f8a24bc3326a8b3891bcb539d46.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/1/216df4c9952e2ccd6047a7b879bac3d4e650e6e5.png)

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [January 31, 2019, 12:20pm UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/14 "2019-01-31T12:20:33Z")

</div>

If you want materials per generic model…

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/1/f1de331b5afe619861351fe30ae68c65042148c1.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/0/6021f6882a037372d819d3d5ffab86638a927e6d.png)

---

<div class="post-metadata">

**Author:** ![JJUlkins](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@JJUlkins](https://forum.dynamobim.com/u/JJUlkins)\
**Post date:** [January 31, 2019, 12:58pm UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/15 "2019-01-31T12:58:26Z")

</div>

@Mark.Ackerley and @Marcel_Rijsmus thank you for the examples you’ ve provided. As I did like you did Metric Generic Model, there are many families created, that’s ok. I have to get inside those families and transfer the materials fro the project file each time. Even that can be like that right now as a temporary solution, what I’ve wanted to achieve was like to have these generic models created as default cuboids first. Then by the .rfa file that I created (“Equipment Solid”), which is based on the Metric Generic Model in the first place, I want to be able to change materials inside the Revit file whenever I want. Either my parameter definition is not right in the .rfa or it can’t be done.  
I did my graph like yours and would appreciate if you tell me where I’m wrong at.  
I also transferred the project materials inside this .rfa (DefaultBlue, DefaultGreen, DefaultPink).

[Cuboids to Revit.dyn](https://forum.dynamobim.com/uploads/short-url/k9W9VW5daJYypX5qz9gH9eBR2tG.dyn) (43.9 KB)  
[Equipment Solid.rfa](https://forum.dynamobim.com/uploads/short-url/9JpybP1AQQW1cy4whZ9oM6jbafQ.rfa) (776 KB)

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [January 31, 2019, 1:01pm UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/16 "2019-01-31T13:01:44Z")

</div>

Ok, no worries, so hopefully you just need to reorder your graph, with a couple of new bits…

Maybe something like this?

1. Create Solid
2. Create Family from Solid.
3. Duplicate Family
4. If you want to control your material by type, you could make a new type with the other material applied
5. Set ‘other’ families to new type

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [February 1, 2019, 6:28am UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/17 "2019-02-01T06:28:48Z")

</div>

I looked into pushing materials from projects into this awhile back. I recall that I had to jump through some hoops.

1. Load a default template containing a material parameter in it (but no geometry) into the project first.
2. Duplicate the family type X times to allow for each material I wanted.
3. Assign the materials I wanted to the parameter value in each type.
4. Save out the rfa.
5. Change the file extension to rft.
6. Use that as my template for the direct shape.

It was messy, slow, and hard to manage long term.

Sadly, I was unable to assign a parameter as a material directly (we had a deadline and all the materials were available in the document after I did the pushing so we just let element binding manage it for us).

---

<div class="post-metadata">

**Author:** ![randy.brown](https://avatars.discourse-cdn.com/v4/letter/r/e36b37/32.png) [@randy.brown](https://forum.dynamobim.com/u/randy.brown)\
**Post date:** [April 13, 2023, 4:47am UTC](https://forum.dynamobim.com/t/importing-dynamo-geometry-into-revit-as-a-mass/31471/18 "2023-04-13T04:47:09Z")

</div>

Old thread but can you do simple shapes as well for Concept Planning  
Letter shapes like I, L, T, U, O, etc…
