I tried to follow the post and cut and pasted the code by for some reason it is not working correctly. I have provided a simple graph and a Revit Detail family, which when using a new drafting view (WIRING) is created, it will place the family over vertical lines, however in doing so, it places the family behind the lines. The family has a masking region, which effectively breaks the lines when the family is brought to the front. However at the moment I have to manually do this.
Would it be possible to have a simple node to reflect the standard Revit function, <Modify | Detail Items> Bring to Front or Send to Back ? Surely this is the stated aim and goal of producing elegant Dynamo.?
Any help here will be truly appreciated by all.
Note - Need to nominate drafting View
Would like to Achieve
BK-001.rfa (220 KB)
PLACE_BK_IN_DRAFTING_VIEW.dyn (31.2 KB)