Hi everyone, I’m new to Dynamo and need help automating a task in Revit. Context: - I have a roof with many plinth beam family instances placed on top (more than 100). - For each plinth family, I need to draw a rectangle of Detail Lines around it in the active view. - Doing this manually is very time-consuming. What I tried: - I have a basic script that gets family locations and draws lines, but I’m struggling with: - Getting the bounding box for each family - Drawing all four lines automatically - Assigning a specific line style - Handling large numbers of families efficiently Questions: 1. How can I create Detail Lines around each family instance automatically using Dynamo? 2. Is there a way to use the BoundingBox of each family to draw the rectangle? 3. How do I set the Line Style for these detail lines? 4. Any tips for performance when dealing with 100+ instances?
Before Dynamo: Have you tried editing the family or creating a parametric family instead?
For Dynamo try:
Element.BoundingBox. Then get the maximum and minimum points. Ignore the Z values
Use those points to get the 4 cornerpoints of the rectangles and draw the lines in Dynamo
Then convert the lines to Revit lines. However in this case I would draw a transparent Filled Region. That way you can have an annotation symbol type specific for this task and more easily control the settings that way