CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Czech English Deutsch
Login/Register:
 Visitors: 1254 
RSS tips RSS channel - CAD tips
RSS discussion RSS channel - CAD discussion

Discussion Discussion forum

HelpCAD discussion

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.

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 Closedlisp

 Post Reply Post Reply
Author
thiru.sta View Drop Down
Newbie
Newbie


Joined: 09.Nov.2011
Location: India
Using: AutoCAD 2011
Status: Offline
Points: 10
Direct Link To This Post Topic: lisp
    Posted: 25.Jan.2012 at 07:41
i want new lisp which is not in zero layer in cad
Thiru
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2012
Status: Offline
Points: 2211
Direct Link To This Post Posted: 25.Jan.2012 at 11:46
I'm not sure what you are asking.

You want a lisp routine that will change the layer you are in?
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2011>>
Back to Top
thiru.sta View Drop Down
Newbie
Newbie


Joined: 09.Nov.2011
Location: India
Using: AutoCAD 2011
Status: Offline
Points: 10
Direct Link To This Post Posted: 27.Jan.2012 at 04:27
Sorry, i want lisp routine which block is not in 'zero' layer
Thiru
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2012
Status: Offline
Points: 2211
Direct Link To This Post Posted: 27.Jan.2012 at 12:10
I think I have it now.

You are looking for a lisp routine that will somehow tell you which blocks in a drawing were either...

1. Not created on layer "0"

...or...

2. Do not reside on layer "0".

Is either of these correct?
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2011>>
Back to Top
thiru.sta View Drop Down
Newbie
Newbie


Joined: 09.Nov.2011
Location: India
Using: AutoCAD 2011
Status: Offline
Points: 10
Direct Link To This Post Posted: 30.Jan.2012 at 12:06
Do not reside on layer "0".
block, which is not inserted ion layer "0".
If you have tha lisp. could you share with me?
Thiru
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2012
Status: Offline
Points: 2211
Direct Link To This Post Posted: 30.Jan.2012 at 12:55
A lisp routine that tells you which blocks do not reside on layer "0". 

I don't have a lisp routine like that.  I'd have to do a search.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2011>>
Back to Top
alice12 View Drop Down
Newbie
Newbie


Joined: 17.Jan.2012
Location: United States
Using: AutoCAD2012
Status: Offline
Points: 3
Direct Link To This Post Posted: 01.Feb.2012 at 10:16
Layer 0 is always the current layer when you start a new drawing, however, it is bad
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2012
Status: Offline
Points: 2211
Direct Link To This Post Posted: 01.Feb.2012 at 12:09
Alice: Why is that bad?  It is possible to start a new drawing and NOT have layer "0" as the current layer simply by editing the DWT file (add a new layer and make it current) and saving it.

Edited by John Connor - 01.Feb.2012 at 12:10
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2011>>
Back to Top

Related CAD tips:
Tip 8677:Associative DWG table of line length totals (by layer).
Tip 7245:How to load/install a LISP application in AutoCAD?
Tip 6606:How to create AutoCAD geometry from Excel?
Tip 6455:How to construct a triangle in AutoCAD?
Tip 5889:How to resize an entity differently in X - Y - Z directions (axes)?


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,547 seconds.