To make the script useble for our workflow, I have modified the script so it will place the lines by level.
Now I only need the lines to be placed with an offset next to the walls, but I can’t seem to make that happen.
It would be of great help if someone could help me in the right direction.
Yes that’s almost it. I doesn’t work if the Curve.Offset is placed into the FamilyInstance.ByLine.
I need a node to make a line out of it first, like the Line.ByTangency…
You could probably get more consequent results by offsetting polycurves and then exploding them, but I don’t know if they would easily stay linked to the walls.
Another solution would be to offset in both directions and to filter by contaiment test (just an idea)…
@Wouter I am trying to use a version of this at my office and I have one question for you: How does this script determine which view to place the lines in and is it possible to allow the user to select the view?
In testing, it seems to always place the lines on the view that has the same name as the level that the lines are associated with. At my company we have a separate plan for Code drawings and my goal would be to place the lines on that view and not the floor plan view. Any insight would be greatly appreciated.