Layer Properties Per Viewport

by Donnie Gladfelter on January 3, 2008

in AutoCAD 2008

For the past couple weeks The CAD Geek Blog has been rather quiet.  Rest assured I haven’t abandoned my little corner of the CAD blogosphere, but rather took a little end-of-year vacation (Dec 17-Jan 1).  I started my vacation with grand plans of blogging almost non-stop, and finding new ways to break AutoCAD and Civil 3D.  What actually happened was a lot of Christmas shopping, followed by a number of excursions.

Proclaimed as the birthplace of the Tacky Christmas Light Tour, I had a chance to visit the many tacky homes in and around Richmond, VA.  My mothers home is among those on the Richmond Tacky Light Tour.  Getting Christmas off to a somewhat comical start was me attempting to calculate and balance the electrical load for her light display.  2-30 Amp and 2-20 Amp breakers later – we had lights!

Other highlights of my long Christmas break included visiting Baltimore, MD for their Miracle on 34th Street; Newport News, VA for their Celebration in Lights, and Virginia Beach, VA for their Holiday Lights on the Boardwalk.  Finally I had the pleasure of bringing in the new year with my favorite band – Carbon Leaf.  Needless to say, all that fun didn’t leave much time for blogging.  But 2008 is here, and so am I!

AutoCAD 2008 introduced a handy feature for managing layers properties on a viewport-by-viewport basis.  Pre-2008 we could only freeze and thaw per viewport, but now we can change Color, Linetype, Lineweight, and Plot Style.  In the short time we have had 2008 installed, the feature has already proven helpful a number of times.  So just how does one use this feature?

Below is a quick look at the Layer Properties Manager when clicked into a viewport.  You’ll notice the additional columns to the right.  Each of the columns prefixed with a "VP" can be overridden on a viewport-by-viewport basis.  That means you can display the same layer with two different linetypes in adjoining viewports.

image

By default the Color and VP Color columns are the same, Linetype and VP Linetype the same, etc… With any viewport active you can open the layer properties manager, modifying its display properties in only that viewport.

So let’s say I change the color of my Storm Pipe Text layer C-STRM-PIPE-TEXT from Cyan to Magenta.

image

Notice when I change the VP Color column from Cyan (it’s default) to Magenta, the Name, Color, and VP Color columns are highlighted with a light-blue background.  This is a visual cue letting you know the color has been overridden for that viewport.

While changing layer properties within a single viewport may be pretty straightforward for many, what about resetting things back to their defaults? Assuming you are an hourly employee you could always look at each layer, insuring the overall drawing properties match the VP properties, but certainly there’s a better way!?!

image

Funny you should ask – there is indeed a better way.  Right-clicking on a given layer will give you the option to "Remove Viewport Overrides for" either "Selected Layers" or "All Layers".  Finally you are given the option to reset either your selected layers or all layers "In the Current Viewport Only", or not only the current viewport, but rather "All Viewports".

 

Happy New Year!

  • http://www.thecadgeek.com Donnie Gladfelter

    Chad -

    As you’ve discovered viewports don’t copy too well. Your better option would be to use Named Views. You can set those up using the VIEW command. In addition to storing view position, the VIEW command can also store layer states (on/off).

    Donnie

  • http://thecadgeek.com/ Donnie Gladfelter

    Chad -

    As you’ve discovered viewports don’t copy too well. Your better option would be to use Named Views. You can set those up using the VIEW command. In addition to storing view position, the VIEW command can also store layer states (on/off).

    Donnie

    • Greg

      Hi Donnie,
      Are you saying VIEW will ONLY store layer states on/off? I’m wanting all the VP properties copied to another layout. If no solution, surely they should add this to new versions.

  • CHAD

    We’ve been trying to copy a viewport from one sheet to another and to have it retain its settings; having all viewport layer property settings. This works if we copy it on the same sheet but it does not maintain them when we copy it to another sheet. Can you help? Thanks!

  • CHAD

    We’ve been trying to copy a viewport from one sheet to another and to have it retain its settings; having all viewport layer property settings. This works if we copy it on the same sheet but it does not maintain them when we copy it to another sheet. Can you help? Thanks!

    • Greg

      Having the same problem, did you ever get round this?

  • http://www.thecadgeek.com Donnie Gladfelter

    @Lacrecia – You may want to take a look at publishing 2D/3D DWF’s, and using Design Review. Autodesk Labs recently came out with a plug-in that will allow you to navigate using a Ninetndo Wii Remote (good for a presentation setting?).

    Beyond that Autodesk recently made their Impression program FREE to subscription customers. Impression lets you make CAD DWG’s look more hand drawn.

  • http://thecadgeek.com/ Donnie Gladfelter

    @Lacrecia – You may want to take a look at publishing 2D/3D DWF’s, and using Design Review. Autodesk Labs recently came out with a plug-in that will allow you to navigate using a Ninetndo Wii Remote (good for a presentation setting?).

    Beyond that Autodesk recently made their Impression program FREE to subscription customers. Impression lets you make CAD DWG’s look more hand drawn.

  • Lacrecia

    Does anyone have a good recomendation for digital presentation boards? I figure if my CAD drawings and 3D renderings are already in CAD, is there a way to do it up nice for a presentation within CAD? My idea was to go on the Layout Tab and define several viewports to reference in raster files and of course a viewport for the floor plan too. My question now is: how do I place a shadow around the viewport to make it look nice? (to make it look like it is a samle that has been place on the board instead of just a flat picture, hope this makes sense)

  • Lacrecia

    Does anyone have a good recomendation for digital presentation boards? I figure if my CAD drawings and 3D renderings are already in CAD, is there a way to do it up nice for a presentation within CAD? My idea was to go on the Layout Tab and define several viewports to reference in raster files and of course a viewport for the floor plan too. My question now is: how do I place a shadow around the viewport to make it look nice? (to make it look like it is a samle that has been place on the board instead of just a flat picture, hope this makes sense)

  • http://www.thecadgeek.com Donnie Gladfelter

    John – I personally haven’t created such a routine, but I would suggest http://www.lispwiki.com as a place you may very well be able to find your answer. Although rather new, it is quickly becoming a central repository for all things LISP.

  • http://thecadgeek.com/ Donnie Gladfelter

    John – I personally haven’t created such a routine, but I would suggest http://www.lispwiki.com as a place you may very well be able to find your answer. Although rather new, it is quickly becoming a central repository for all things LISP.

Previous post:

Next post: