Jump to content

XREF Layer Automation


Silvercloak

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...