I want to turn off every layer except roofs, roofslabs and 0 within certain viewports to create a roof only plan. What's the best way to do this as a single "click" routine. At the moment I can achieve this by using the layer manager and a filter but I'm always trying to minimise the time taken to achieve the same result.
Many thanks
Ben
Solved! Go to Solution.
Solved by Oilymo. Go to Solution.
If you set up a template drawing with the correct layers in each sheet already set up it can be mostly automatic. Also you can import a sheet from a template into the current drawing.
Showing my ignorance, you can use Layer states (are they the same as VPLayer (I think so) in a viewport.
Also using the LayerFreeze inside a viewport will freeze in that viewport (there is a toggle setting for this) which is not what you want but comes in handy.
Also my lisp routine has in it commands that can be adapted to what you want if you want to strip out.
for eg. Layer States are hard wired and you have to set each layer. A lisp routine can have some flexibility via wildcards so any layer named 1-* can be manipulated. or *-Wall* etc.
If your layers are predictable you can do this.
I would save the layer settings as a named view via the "view" command.
I would call this named view "Roof Plan".
Then have a lisp that would restore this view with a shortcut one the keyboard, for expample "RP"
I have such a setup to restore named views such as Floor Plan (FP), Ceiling Plan (CP), Demo Plan (DP) etc.