Excavations with Revit and Dynamo, Topology.Faces box

Hello! I have just started using Dynamo and im trying to run this script from this site here; https://jbdynamo.blogspot.no/2017/04/ammo-excavations-with-revit-and-dynamo.html?showComment=1492782075665#c2200256834395592498
On the site here you will find the script and a revit test file for the script.
I have a problem with the topology.faces box;
and i dont find a way to solve it on my own.

Anyone have a solution on this problem?

Thanks Kim.

Hi @kim.kolstadmoen
it looks like you’re giving Topology.Faces a list of polycurves. Those don’t have faces…

Okey, have you checket out the test files in the link? He is using the exact same script as I and he gets it to work… I understand what you mean and i see that this can be a problem, but i think its wierd that he make it work whit the same script.

What elements do you have in your slection when you hit run ? Because it looks like you might be selecting families that don’t only contain solids but also polycurves.

you should take a look at the content of these two nodes to figure out which element contains polycurves.

I do only have the thopography in my selection when i hit run,

Hi, it’s not the topography that you should pick in my script you should select the elements that you want to excavate for, ie the bottom floor and structural foundations.

1 Like

When you sey it it sound logical… Thank you bouth for helping me out!

Im wondering if its possible to make the excavations to a topography insteed of a family so i can make a building pad out of this?

I tryed to cut it out first but it dont understand that it not should make a solid fill inside… And of what i understand by reading about my problem dynamo have no box for making a building pad whitout makit the script by myself?

i tried it but also it didn’t work in dynamo 2
i received this errors after selecting the floor and clicking run
i used your mail file #jostein_olsen



Well, it seems as though you are plugging the floor you have selected into the topography node?

yes i just choose the floor and clicked run
should i do any thing more ?

i try it in another file also didn’t work and the same issue

It says right in the script that you have to pick the topography:
The Spring.Collector.CurrentSelection node takes whatever geometry you have selected in Revit when you click run in Dynamo(floors etc.)

Also when i used the topography in your file or if i draw new topography and select it and click i have the same issue

I can’t really tell what the error is based on these screenshots. Go to the first yellow node and zoom in and expand the error message.

this is 1st 5 yellow nodes

also this is the last 5 yellow nodes
because there is 10 yellow nodes

i tried again with new copy from your .rvt & .dyn and modify the geometry scaling again i had the same 10 yellow nodes again
i am using Revit 2018.1 with last version from Dynamo