Automatic placement of Area Boundary lines with Linked Revit models


#1

Hey guys, I am trying to automate the placement of Area boundary lines in a model that have linked models. I have been able to make a script that can place the lines like I want but it places them for every wall in one view. The way I want it to work would be to have it only put the lines on the active view. Is this possible? I am a beginner to Dynamo so be gentle :slight_smile:


#2

Think of Area boundaries like model lines.
to get to the walls in just the active view, use all elements in active view node and filter the walls, use element.geometry node to get the curves out of those, make new area boudaries by curve


#3

Will this work with linked Revit models?


#4

i overlooked that :roll_eyes:


#5

Something to try:

  1. Get the crop region for the view.
  2. Create a surface from that.
  3. Create a bounding box from that.
  4. Check if each wall in the selection intersects the bounding box.
  5. Filter the lists of walls and make area separation lines.

You may also want to filter walls by fire rating or type or other parameter (do you really want area separations around the closet in the unit?).