Hi guys hope someone out there could help me out… See I am involved on a project were numbering of the ducts are required, where we have to give it a unique sequence number and couple of other parameters describing the material, duct class, insulation type, duct size etc.(se pic below)
Every time this following parameters changes or there is branch of on the line, the duct gets the next sequence number:
AP Fire rate class
AP Duct Line Size
AP Duct Class
We have been doing this manually so far and we producing the D&ID’s for the customer soon and it’s a pain in the ass. I am rookie in Dynamo, but I know it is at least possible to get a quality check workflow so we can quality check these drawings before handing them over to the customer.
Basically what i am asking for is a script that follows the duct line and finds out there is a change in parameter 1 or 2 or 3 or branch off, and then sees if there are some ducts missing sequence number?
Hi masudam,
I don’t quite understand what you are trying to achieve but it seems you are pretty new to Dynamo. I’ve made a few changes to your script that won’t get you the answer but might give you some more insight into how Dynamo works. Duct line check.dyn (23.7 KB)
I think I understand. Have a look at the attached script, it uses a custom node from the Archi-lab package. I’ve created three groups that should kind of do the three things you want to do.Duct line check.dyn (35.7 KB)
Thank you for your help and guidance I really appreciate that, I am very close to the goal now… I have worked on the file you have sent me and I have added comments so it easier to understand. Look forward getting guidance from you:)
No problem. I’ve added 2 more node groups, one creates the running number 4000 and on. The other sends the elements ids to your clipboard, you can use that select the elements in Revit by going to the ‘Manage’ tab and then use ‘Select by ID’ and paste the id’s there.
The most difficult part of this workflow is trying to check whether there are changes in your duct parameters. I don’t think there’s a really good way of doing this with Dynamo. A few options that spring to mind are:
Exporting id’s and parameters to Excel and on consequent runs checking for differences
Creating some kind of hash code that’s made up out of the parameters and checking those.
You could start by looking into the Excel export and import fuctions that Dynamo offers, but that’s a whole new topic. You might want to save it for later when you have become a bit more accustomed to Dynamo Duct line check 2.dyn (67.1 KB)