I have been told this may be the place for this. This thread is also located in
autocad General Discussion
We have several viewports in a single drawing. At the end of the job, we have to change each viewport to layerstate A, B or C.
Our process is; open the viewport, restore the layerstate we need, close the viewport. Move on to the next. This works except opening and closing viewports is slow due to file size and hampered by hardware performance.
Is there a way to change the layerstate of multiple viewports at once, or without opening the viewports?
I have tried a few things;
Match Properties, but that command insists on changing the scale of the VP as well. I cannot find a toggle to fine-tune Match Properties to just change the Layer State.
Change the layerstate of a viewport using the properties menu, but cannot find a way to change the layerstate through properties. I hoped to select all the viewports that need to be type 'A' and then modify them by using properties, like a do dynamic blocks.
I have searched for a lisp program that will restore a viewport to a predetermined layerstate by simply clicking the viewport.
Is there something I can try.
Specs;
Autocad 2019. Vanella.
It has the Advanced steel package, but am not using it in this application
drawings are done in model space with all layers overtop each other.
All of the layers are named as noted,
Viewport A has
VPA drawings
VPA dim
VPA floor etc.
VPB drawings
VPB dim
VPB floor etc.
They will be filtered out using layer states in the viewports.
There is 50 drawing per file, each drawing has 6 viewports that are in the same position on each drawing.
With that note, as you can see by the quantity of window, opening and closing each one takes hours. it would be preferred if it can be done in batch without opening.
If you would like a copy of the drawing, I can send one but not sure how to do that here.