Combining separate Masses into one

HI have this script that allows user to select masses and create new masses from them, but it creates separate masses again. Union doesn’t combine the elements because they don’t intersect I believe. Any ideas?
Combine Masses.dyn (47.7 KB)

Solids don’t need to intersect in order to union.

Can you share an image of your graph in a case where it “fails”? Make sure the graph is legible and that you have all node preview bubbles turned on.

2 Likes

Conceptual mass families are fun.
I’m from Vasari
Another planet
Discovered in 2014
:laughing:

1 Like

Here’s what I got so far

Hi @Wildtypitch try a list flatten between elementgeometry and solid by union

Bingo!


Thanks Sovitek

Interestingly the Mass doesn’t have a family name so it isn’t selectable in the project browser. Any idea why or how to overcome this?
Directshape node seems to change the Type name not family name.



"Highlighted a different option but it’s another dynamo created mass. "

Hi direct shape dont have any type only instance, you could try spring familyinstance by geometry

Hmm interesting, Thanks for the tip @sovitek


I understand that project units are used to scale the mass. Project is metric mm. the scale factor of the new geometry is 3.28 which coincides with feet in a meter not sure how to overcome this? Is the Conceptual mass family in the wrong units?
So this has created a conceptual mass, which may work. But can I create an in-place mass?

You cant create a mass in place…are you in 2022 ? if so then spring have some issue, but then use synthezise toolkit insert family i think the node is called, or ootb familytype by geometry and then family instance for insert

1 Like

Yep in 2022. trying the Synthesize K-insert node. It’s a big one. Not having any joy though.

Yes the must advanced node i know ;)…try untick the default as here

…last time i used that node i remember i had issue with custom names, just set name after with clockwork

Still no dice…even with a simple cube geometry


Can you attach a copy of the mass template file? I only have access to our company versions.

yes sure…something here works for me…

Home.dyn (26.0 KB)

arhh soory you want the family template file…it should work with genericmodel template as well…

i guess you company mass template works as, so long its a mass template…and remember uncheck all inputs for default, where you have input

I thought the node would change color if there were inputs missing.
Maybe i’m wrong, or that’s from a newer version of Dynamo

1 Like

Hmm still not getting anywhere with my DYN nor yours. Very frustrating. I don’t think it’s the mass family, soesn’t work with other templates either, all defaults set… Might be a dynamo install conflict.

1 Like

then am not sure…have tried copy the template to desktop…just a guess…but try show us an image where you are now or share your graph

Combine Masses.dyn (22.6 KB)

Hi @Wildtypitch it should work, try restart revit dynamo and run again