Pipe Measurement in Spaces

I’m a complete Dynamo newbie - so please forgive me if I’m slow off the mark with this!!

I work with a lot of heat loss calcs - and tend to have to hand-measure pipework per space in Revit, add it all up & enter this value into a parameter to calculate the heat loss through schedules. Not only is it time-consuming but it also exposes us to human error.

What I was wondering was is there a way to utilise Dynamo to save time? For example, if I have a pipe that runs through 2 different rooms, would it be possible to detect/measure the length of pipe per space, then schedule this number back to Revit? So (in the case of the example image) Space 01 would contain 10000 & Space 02 would contain 5000?

If I was more experienced at Dynamo I could probably figure something out, but as it stands all I know is what I’d like to achieve - but not how to go about starting it! Any advice would be greatly appreciated :slight_smile:

Something like this?


Amazing! That’s exactly the sort of set up I mean, thank you! Any advice on how I would go about displaying these values under a ‘Number’ shared parameter for the correct spaces?

You can use the node “Element.SetParameterByName”!

Thank you so much for your help! :slight_smile: :+1:t2: