Hi all,
Our current project has custom “megapanels” that are composed of operable, fixed, friteed, and it’s framing.
These were imported from autocad and have their own layers.
Since I need to do area take offs i decided to use dynamo to select all instances of a type(i.e. all operable windows) and calculate a total. I would then put the total manually into parameter i created for it.
I want to bypass typing it in manually and just have dynamo write the calculated value to the parameter within the family.
I’m having a hard time figuring out what the right way to do the last part is.
I don’t know if understood it correctly, but why not use a a formula for the totals?
So Parameter 1 + Parameter 2 + P… etc. as formula for your totals Parameter (GL1?)
For Dynamo. Where do you wanna write the value to (in other words; what element has the total value parameter? Start looking at Element.SetParameterValue.
Thanks for the reply!
I’m actually combing the surface area from multiple elements. That is what the original script is calculating.
It calculates all selected elements below(the ones with red check marks)
Ha no parameter exists within each element it only exists in the family. This is a mega panel. When loaded into the project it sits within a curtain wall. Below is the full panel before being loaded into the model.