United States Department of Agriculture
Natural Resources Conservation Service
New York Go to Accessibility Information
Skip to Page Content





Modifying the Single Viewport Command Toolbar Button

This page provides instructions to modify the code for the Single Viewport command toolbar button.

This command was written by a user of Autodesk products, not Autodesk Inc. Therefore, the end user is responsible for any problems that may arise due to the installation and use of it.

 The modified code performs the following actions:

  • Makes a layer named z_viewports

  • Sets the layer color to red

  • Sets the layer to No Plot

  • Sets the layer to current

  • Runs the Single Viewport command

Applying the macro code to the Single Viewport command toolbar button

Highlight the following macro code and copy it to the Windows clipboard using the right click/copy function of your mouse.

^C^C-la;make;z_viewports;color;red;;set;z_viewports;p;no;;;-vports;single;^M;

The Adobe Acrobat document below provides instructions for applying the macro code to the Single Viewport command toolbar button.

This document requires Adobe Reader.

Modifying the single viewport command toolbar button (PDF; 20 KB)

I would like to thank Bill Ivanoff, Seymour, Connecticut, for his assistance. Bill wrote the code for this button. Thank you very much Bill. You did a great job!


If you have a program setting or customization that you would like to share with other users via this Web site, you may contact Gary Vandawalker.


Contact Information

You may send comments regarding this Web site to:

State Conservation Engineer

Peter E. Wright
Syracuse, New York
Telephone: 315-477-6538

If you encounter any problems with files provided on this page, have questions, suggestions, or find a broken link, please contact Gary Vandawalker at 315-477-6546.


alt=""Back to Top

< Back to Program Settings and Customization - Custom Commands and Toolbar Buttons