CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.092.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closedset default Xref layer upon attaching

 Post Reply Post Reply
Author
germanbarry View Drop Down
Groupie
Groupie


Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
Direct Link To This Post Topic: set default Xref layer upon attaching
    Posted: 15.Jul.2011 at 18:10

hi all

i want to be able to set my autocad up so that whenever i attach an xref, it gets brought in on layer Zero instead of being brought in on whatever the current layer is.

I often work in defpoints layer and when i attach an xref to get a quick schematic plot of something, i can't see the xref cos it was brought in on defpoints/current layer!

 

can this be mastered with a lisp which gets added to my startup suite?

Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 15.Jul.2011 at 19:03
You should rarely work in the Defpoints layer if at all.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
germanbarry View Drop Down
Groupie
Groupie


Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
Direct Link To This Post Posted: 15.Jul.2011 at 19:05
ok then let me rework the question to see if i can get an answer
 
i'm drawing in a layer called WALL, since I'm drawing lots of walls...
i want to bring in an xref, but have it automatically set to layer zero rather than WALL, because i may in the future wish to freeze the WALL layer but not the xref with it
 
 
can it be done?
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 15.Jul.2011 at 21:39
Why couldn't you use a macro that first sets the layer to "0" before the xref command is invoked?
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
germanbarry View Drop Down
Groupie
Groupie


Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
Direct Link To This Post Posted: 16.Jul.2011 at 10:07
THAT's the answer i was after!
thanks
sorry - I'm new to CAD Macros and keep forgetting how powerful it is.
 
 
I also incorporated changing the UCS coordinates to World (from Vertical) into the same macro - works great!
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 16.Jul.2011 at 13:07
It was a lucky guess on my part.  Glad to hear you got it worked out.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,066 seconds.