Modifying Filled Region Line Styles in Revit API
I made a plugin to automatically calculate the clear height, which requires marking the height with annotation blocks, but boundary lines appeared when it came out, as shown below. Defining width through filledregionType’s lineweight failed, and setting through LineStyleId also failed because directly obtaining LineStyle style only gets lines in Manage -> Line Styles, not the

Here we need to collect GraphStyle to find the invisible line Id and assign it directly. In the example, I cancelled the boundary for the green part.

1 | var filter = new FilteredElementCollector(doc); |
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.





