Hello Dynamo Community,
I’m currently working on a project where I need to create caps at the open ends of ducts using Dynamo. Is there any API method or Dynamo node that can help automate this process?
If anyone has experience with this or can point me in the right direction, I would greatly appreciate it!
Unfortunately, don’t have any method availbale to Duct to open End Cap, but this is the way you can achive :
- Place a family instance at location of connector
- Calculate the angle rotate of end cap with duct.
- Connect end cap into Duct
With Plumping you can ref code here : OpenMEP/OpenMEPRevit/Element/Pipe.cs at 985d962f86ab3dcc77276cb6b41a9b1f14056151 · chuongmep/OpenMEP · GitHub
exackly what @chuongmep say i have just created my own dirty one but works…bassicly as he mention 

Why not just Select All Instances > In Entire Project and Cap All Open Ends? Just a few clicks and no need for Dynamo.
yeah agree, not so complicated, as with dynamo we have to find the right cap from the duct series
Why we have PlumbingUtils.PlaceCapOnOpenEnds but not the same for duct is so far beyond me…
That’s a good question. Pipes always have a circular shape, but ducts can be circular, oval, or rectangular. I believe Autodesk just needs more time to account for all these cases. 
Thank you all for your valuable insights and support! I truly appreciate the time and effort you’ve put into sharing your knowledge. Your contributions have been incredibly helpful
Hi @jazzsharma200 sorry i dont have it anymore, but should be possible build again, if i remember i get the cap from the duct serie and just connect it into the the duct and set size,rotation etc…but create a new topic for that, and show what you have tried so far,and we can probably help…ps i saw for a time ago @c.poupin do it for fitting, try you can search that post, can probably help as well…ps there are still no api for do that as far i know…ps but probably faster do manuel as @Nick_Boyts mention anyway
no luck i was using postable commands but unfortunately it is not in the enums
yeah guess the only way is the hard one as @chuongmep say as well