Jump to content
Silvercloak

XREF Layer Automation

Recommended Posts

Silvercloak

Hey folks,

 

I don't know if this has happened to many of you, but when setting up drawings at work - I have to create a viewport and our viewports are on a no plot layer. So I switch to that layer to create my viewports, and I forget to immediately switch to my XREF layer as I attach Xrefs in my drawings.

 

Hours later when I print off everything I've done, I discover half of my XREFs didn't plot because... yep... they're on the viewport layer.

 

Is there ANY way to automatically have XREFs all go on the XREF layer? There's got to be a way to do this. I suppose I could make a button that will switch my current layer and open the XREF dialogue... but I thought i'd throw this out there and see if anyone else might have some good ideas on this?

 

Silvercloak

Share this post


Link to post
Share on other sites
CyberAngel

You can always override your VPORT command. Define a new function called VPORT. In this function, save the current layer, make the viewport layer current, run the original VPORT command, and change the current layer back to the original.

Share this post


Link to post
Share on other sites
Aftertouch

In AutoCAD 2018 there is a variable 'XREFLAYER' wich forces XREFS to a certain layer. ;-)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...