PDA

View Full Version : Show me the contents of a Layer CAD 2K



hyposmurf
1st Jun 2003, 01:27 pm
Say I'm looking at the layers within a drawing,is there a quick way to find what objects are on particular layer.Sometimes it can be a bit annoying having to work my way through a drawing to see what objects are on a layer via properties manager,or if I freeze that layer it isnt always clear which objetcs have been frozen on that layer. :? There must be a shorcut,such as an express tool that will for instance highlight objetcs of a layer,well I hope so :)

Flores
1st Jun 2003, 05:50 pm
Use "laywalk" from the Express Tools. You may need to resize the dialog box that pops up so that the list of layers is longer. Now just click the layers that are on the list to keep that layer on, and freeze all other layers. You can use "shift" or "ctrl" + left click to select a few or a list of layers.

Flores

hyposmurf
1st Jun 2003, 06:16 pm
Use "laywalk" from the Express Tools. You may need to resize the dialog box that pops up so that the list of layers is longer. Now just click the layers that are on the list to keep that layer on, and freeze all other layers. You can use "shift" or "ctrl" + left click to select a few or a list of layers.

Flores
Nope theres no command like that,that I can see called LAYWALK.I've entered the command in the command window,searched the express CAD folder and tried to see if its in the express menu pulldown,but nope :( .Think you might be talking about a new command thats been added to 2002 or 2004 maybe!

fuccaro
2nd Jun 2003, 06:16 am
QSELECT
You may select all objects on a particular layer. If it is to long to type QSELECT at the command prompt press CTRL+1 to bring up the properties window and find the icon on the upper right corner, right under the “X” button used for close the window.

hyposmurf
2nd Jun 2003, 12:39 pm
That's one of the features I've previously looked at and forgotten about till now! :)

Flores
2nd Jun 2003, 06:27 pm
Nope theres no command like that,that I can see called LAYWALK.I've entered the command in the command window,searched the express CAD folder and tried to see if its in the express menu pulldown,but nope :( .Think you might be talking about a new command thats been added to 2002 or 2004 maybe!

Me wrong? Very funny.
I am using ACAD 2000 with Express Tools volume 1-9.
Express > Layers > Layer Walk.

From the Express Tools help file:
LAYWALK
Dynamically displays objects on selected layers

Flores

hyposmurf
2nd Jun 2003, 10:08 pm
Maybe Im going mad,but there definately isn't a LAYWALK command in my version of 2000 :? .I've checked the express pulldown,searched for LAY WALK & Layer Walk,on my Cdrive,my original installation CD& the express tools file.It just simply isnt there,is it a add on express tool?Maybe I have some of the express tools missing :shock:

fuccaro
3rd Jun 2003, 05:52 am
Hyposmurf
Probable your AutoCAD 2000 install CD was not handled careful and the LAYWALK command ... slipped out from the package. I typed on my computer LAYWALK and ... surprise:
Command: laywalk
Unknown command "LAYWALK". Press F1 for help.

hyposmurf
3rd Jun 2003, 12:44 pm
Hyposmurf
Probable your AutoCAD 2000 install CD was not handled careful and the LAYWALK command ... slipped out from the package. I typed on my computer LAYWALK and ... surprise:
Command: laywalk
Unknown command "LAYWALK". Press F1 for help.
:D I knew I should've have been more carerful.It still intrigued me so I visited Autodesk and weirdly enough there is a command within the Express tools(2000 &2000i) for "LAYWALK",but where you attain it I dont know.Is this an additional tool that has been added to your express tools Flores?
http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=2882760&linkID=2475323

Flores
3rd Jun 2003, 07:06 pm
Get Express Tools Volume 1-9 here:
http://www.tbaug.com/Main-web/lsp_files.htm
The Express version I have did not come with ACAD, I got it off of the internet.

Flores

hyposmurf
3rd Jun 2003, 07:56 pm
:D Yes there's "LAYWALK",found the ****** at last!I actually saw that site the other day and tried installing it over my own copy with no luck,have to remove your existing Express tools :roll: .Cheers anyway flawless Flores :) .There's quite a few more commands on that version to,looked at the number of Autolisp applications,the existing has 37,this version 79 :shock:

fuccaro
4th Jun 2003, 05:44 am
So it is an "Express Express" tool! Ok, we are waiting the "Bonus Express" tools.
Thanks for the link Flores. I will try it right now.
Cheers!

hyposmurf
16th Jun 2003, 09:25 pm
There are some cool new tools in there,one of them is the DCPROPS which when the ON option is chosen all you have to do to select the properties of an object is to double click it. :D

gpinel
8th Jul 2003, 01:22 am
One of the best commands I've found is "layiso" to navigate through layers.
It isolates a specified layer(s) and turns all the others off.

hyposmurf
8th Jul 2003, 01:34 pm
Exactly an invaluable tool,you can then use the unisolate command to bring them all back on to their previous state.Not sure if BTRIM was on the original express tools,but thats also been a great command,saves me alot of time :)

hendie
12th Aug 2003, 04:33 pm
just found this post, maybe it's too late... maybe not
anyway, here's a routine I cobbled together some time ago which surprisingly does what you want

;| © A.Henderson 2002
;|Finds layer of selected object, isolates it and zooms to (0.9) extents.
User clicks OK when finished and drawings returns to original view.
LAYER FLASH ROUTINE|;

(defun C:Fla**** (/ Flay lay Oldlay ITWAS OLDCMD WAITHERE XZ)
(vl-load-com)
(setq OldCmd (getvar "cmdecho"))
(setvar "cmdecho" 0)
(setq OldLay (getvar "CLAYER"))
(setq Flay (entsel "\nSelect object on Flash layer : "))
(setq XZ
(vla-get-layer
(vlax-ename->vla-object
(car Flay)
) ;_ end of vlax-ename->vla-object
) ;_ end of vla-get-layer
) ;_ end of setq
(command "undo" "begin")
(command "layer" "make" XZ "")
(command "-layer" "freeze" "*" "")
(command "zoom" "extents")
(command "Zoom" "0.9x")
&#40;setq Itwas &#40;strcat "Layer selected was&#58; " XZ "\nPress Spacebar or <Return> to continue &#58;"&#41;&#41;
&#40;princ itwas&#41;
&#40;setq Waithere &#40;getstring&#41;&#41;
&#40;command "undo" "end"&#41;
&#40;command "undo" 1&#41;

&#40;setvar "clayer" Oldlay&#41;
&#40;setvar "cmdecho" OldCmd&#41;
&#40;princ&#41;

&#41; ;_ end of defun

CADTutor
13th Aug 2003, 08:54 am
Welcome to our forum and thanks for a great contribution!

I'll certainly give it a go.

hyposmurf
14th Aug 2003, 12:48 pm
Haven't I seen you somewhere before Hendie?On the Appinatt forum?Welcome to CADTutor and I'm sure as in Appinatt you have plenty of knowledge and ideas to offer.

hendie
14th Aug 2003, 01:02 pm
thanks hyposmurf !
yep, you're right.. Appinatt & Cadalog are my usual haunts but I just found this site recently and it looks the type of place I can glean some knowledge from