How to hide sections on a plan view

First I love to explore with Dynamo, its great….

Now I wonder if it’s possible to use Dynamo to hide sections on a plan view.

It seems easy, but I want to place the plan view on a drawing, and then add a number of sections that “belong” to the plan view, to the drawing.

Now I only want to show the sections that I have on my drawing in the plan view… and hide the rest

Is this possible? And how?

Stig

My first guess would be to perform a logical test of the “View Name” parameter of the section. You could use the string value to set which sections belong to their respective views. If you didn’t want the section name to be altered for the sake of the logical test, you could always look at adding a parameter to your sections which is used solely for that purpose.