AutoCAD MEP General Discussion

AutoCAD MEP General Discussion

Reply
Contributor
T123
Posts: 21
Registered: ‎04-24-2007
Message 1 of 3 (135 Views)

Viewport to specific layer

135 Views, 2 Replies
07-04-2007 02:02 AM
Is there a way of making my viewports to be placed on a specific layer all the time. Today, I have to create a new non-plot layer in every DWG and move my viewports to this layer.

A workaround could be creating a viewportlayer once in a template but I am not sure of how to do that either...

Greatful for all tips...
Distinguished Contributor
Qwaldo
Posts: 252
Registered: ‎07-18-2006
Message 2 of 3 (135 Views)

Re: Viewport to specific layer

07-04-2007 03:35 AM in reply to: T123
You could put a macro like this on a button. My example uses layer name "non-plot"

^c^c-layer;new;non-plot;set;non-plot;plot;n;;;mview;\\layerp;

creates the layer non-plot - makes it current - sets it to not plot - starts mview command - waits for 2 pick points - sets layer to previous
Distinguished Contributor
djarvis
Posts: 347
Registered: ‎12-10-2003
Message 3 of 3 (135 Views)

Re: Viewport to specific layer

07-05-2007 10:31 AM in reply to: T123
Are you using the Project Navigator? If so then you can set the layer key for VIEWPORT to the correct layer.

Regarding the template issue, if you have a particular template that you use for new drawings go into this template and create the new layer with the appropriate properties then save the template, any new drawing based on this template will include the layer.

Drew
North Vancouver
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New AutoCAD MEP Category!

The AutoCAD MEP forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.