Ignore face based voids in Node "Element.geometry"


#1

ignore face based voids in Node “Element.geometry”

my wall has several sockets (face based family) With voids, so this node gives me error,how do I ignore those to get this node working properly.


#2

I don’t think you will get any assistance unless you show us what you have already done and what it is you wish to achieve, it sound on your post that we should already know what this is concerning and unfortunately we do not. Maybe try reading this and adjust your post accordingly:
https://forum.dynamobim.com/t/how-to-get-help-on-the-dynamo-forums/4677


#3

k


#4

I have two precast walls shell 1 & 2. Shell 2 doesn’t have any face based elements attached hence no problem selecting it. shell 1 has faced based families on it (sockets,lifter)…so dynamo gives me an error when I select the wall.

the other one


#5

it says the value is none


#6

so what I want to do is…duplicate the wall in its place …select and delete the face based elements…run the script… get the centroid…and delete the duplicated wall


#7

I recently saw a nice suggestion for a similar problem in this topic:

You can select all these sockets and temporary move them to another phase with Dynamo.


#8

Post a sample .dyn so we can review. That should work unless something weird is happening.


#9

Centroid.dyn (8.7 KB)


#10

the DYN is fine. Send a simplified version of your Revit model - just the two elements you are looking to select - one which works and one which fails - should be fine.


#11

The actual model are at work and i cant send them…ive tried models at home and they work perfectly


#12

I still think that duplicating the element in its place is the best method…however the spring nodes pack does not have copy element node…and the copy by vector of clockworks pack move the element which would change the centroid location.


#13

Dynamo completely ignores phases…or am i doing something wrong???


#14

Not sure if this is what you’re after, but Clockwork’s Element.Geometry+ node has a setting to ignore any inserts when returning the element geometry. This would, of course, also remove any openings from doors and windows.


#15

yes but only halfway…i need to retain openings…but exclude face based void family


#16

Theres only 1 family that needs excluding…he sockets


#17


#18

Maybe you can use the size of the voids to exclude/include?


#19

This one i made at home…COG Practice.rvt (1.6 MB)


#20

How??