I have a question regarding DuctRectangular.ByLines node. For unknown reason, it allways freezes when used. Here, for example, I am trying to model one simple segment of Duct with following inputs. According to my research, those should be correct. Do any of you know what may be the cause? Sorry, I cant post the file as it would require company permission.
All Elements of DuctType and All Elements of MechanicalSystemType should return DuctType and MechanicalSystemType objects respectively. No idea why you’re getting generic ElementType objects.
@Nick_Boyts Thank you very much for your reply. Would it be possible for you to share the Revit and Dynamo file that you used for making this screenshot? I would like to compare it with my files and see where this error is coming from. So far I cant tell :).
Honestly, I spent whole morning trying to find what may cause this issue and so far no luck. I found this post, where the same ElementType data is beeing produced by the same components - Duct Creation Error - #8 by lfaussK8Q8Y. At apparently, it is working at the end.
Couldnt this be an issue of Dynamo version or something similar?
I messaged Taco Pover (inventor of the MEPover package) and he said that ElementType data is correct data type in current Revit version and should not be causing any issue.
¨
After that I was experimenting with the script a little and I think that the issue might be in “Lines” input. I will upload the files for you to see. There are two “sources” i tried:
(1) Lines generated by Dynamo according to the imported models in the file - this will cause Dynamo to freeze when used
(2) Referenced Model line from Revit work space - this will cause the DuctRectangular.ByLines to output a null value
Yup. I always forget about the change to ElementType. @sovitek has pointed out the curve issues. It’s hard to say what’s going on at each step without you showing everything all at once, but it looks like you used a dynamo curve the first time. Are you running in Automatic or Manual? Automatic can have issues creating elements and updating, sometimes causing an infinite loop. Make sure you’re running in Manual.