Creating a new layer frozen in all viewports

 Once there are several tabs in a drawing, it is very useful to be able to create a new layer that is frozen in all viewports, on all tabs.  

This is what I though the VPLAYER/"NEW FROZEN LAYER" command would do. But, it only freezes the layers on the viewports on the current tab, So, I then use the VPLAYER command again, and type the new layer name to freeze in all viewports. This will freeze the layer in the viewports on all tabs.

Is there any other suggested way to accomplish what I want to do?

-joe

Comments

  • I use this in a line in my pull down menus, to do the same job in every viewport in one go-
    (foreach lay (layoutlist)(command "_LAYOUT" "_Set" lay "PSLTSCALE" 1))
    Experimenting with Psltscale left me unsure which files and vports were 0 or 1.
    The setting is per viewport.
    I think you could change the (command to "vplayer....f..." instead of Psltscale.

    Added to that line is some script which includes thawing all layers in Mspace so the vp-thawed layers are there when I print - I always have to run it before printing layouts.
    Perhaps you could just freeze the new layer in Mspace before printing, if you always want it the same way.
  •  Your post reminded me of a technique I used to use in the past.  I had a block that had some lines on layers named Temp1, Temp2, Temp3.  And by inserting that block, I was able to get a series of new layers. Those layers were set to be frozen in new viewports.  I would use this before I started creating all the layouts, so they would already be frozen.

    I could do a macro that did the following,

    Create layers, Temp1, Temp2, Temp3.
    Use Vplayer to freeze all layers that start with Temp*
    Manually rename the Temp* layers as I need them.

    Here is the working version as a macro
    ^c^c-layer;n;Temp1,Temp2;;vplayer;f;Temp*;all;;

    -Joe
  • I use scripts to set up the same typical sets of frozen and thawed layers in vports as I create them - generally they are half one way and half are the reverse settings.
    I don't usually deviate from my standard layers, but if I invent a new one I would have your challenge in perhaps 20 layouts with 3 vports in each.
    Apologies my layoutlist lisp only works per layout, not per vport.
  • The attached LISP will do what you are after

    Regards,
    Jason Bourhill

    LayVPFreeze.lsp

This discussion has been closed.