For those duct fittings, I use to put a text to explain if this have straight sides or frames.
I thought I could do it using dynamo.
Here we go!
First, I have to compare offset of both duct fitting and host duct.
Then I whant to collect the heigh of those elements.
Once I have those information, here are the differents options: (D is for the host duct and P is for the duct fitting offset)
if D offset = P offset and if D height > P height then write the text “case A”
if D offset = P offset and if D height = P height then write the text “case B”
if D top offset = P top offset and if D height > P height then write the text “case C”
if D bottom offset = P bottom offset and if D height > P height then write the text “case D”
So, let’s start talking about my script.
I managed to cllect the duct fittings in my view and to collect their height and offset prameters.
I also managed (with MEP connector info) to collect the duct my duct fitting is hosted to.
but I can’t go further.
I would like to collect and compare the differents offset/height parameters.
I have differents list and I’m a little bit lost.
Could you share your Dynamo File and a Sample Revit file? Your screenshot doesnt display your node names
Also could you maybe further describe your different situations, maybe with some sketches? i dont fully understand how you want to calculate which text you need to place
This checks if the two duct heights are the same. It may get a little complicated and require package nodes / python if you also want to determine which duct is the main.