Hello! I would like to automate the process of annotating ducts and pipes using dynamo. I seem to be struggling on how the tag family dependency condition should be done, the other conditions could use some tweaking as well. I have attached my dyn file for this project. Suggestions and feedback would be greatly appreciated!
Main Objective: Make a dynamo script that annotates either straight ducts or straight pipes of varying systems and sizes for multiple sheets at a time
- The user must be able to choose if he/she would like to tag ducts or pipes for the specific sheet
Conditions:
Tag Family dependency
- The script should be able to associate the unique tag family with its corresponding system
(Supply air tag family for Supply Air ducts, Return air tag family for return air ducts, etc)- Each duct system has a unique corresponding tag family to be used, with four types per family (Left big arrow, Right big arrow, Left small arrow, Right small arrow)
- All pipe systems share the same tag family with four family types (Left big, Right big, Left small, Right small)
Sample:
Tag Placement:
- The tag is ideally placed in the midpoint of the straight duct/pipe
- Ducts/pipes that are equal or greater than 20,000mm in length will have two multi-category tags both placed at the trisection point (1/3) from both ends
- The tag direction must be in accordance with the flow direction of the system
Sizing Constraints
- Only straight ducts/pipes that are equal or greater than 1000mm will be tagged
- Ducts/pipes with a width or diameter of equal or greater than 400mm will be tagged using the big family tag
- Ducts/pipes with a width or diameter of less than 400mm will be tagged using the small family tag
Before:
Desired Output:
MEP Flow Arrows.dyn (154.0 KB)