Print Page | Close Window

Macro. Selecting objects with the "\"

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=5566
Printed Date: 18.Apr.2026 at 04:16


Topic: Macro. Selecting objects with the "\"
Posted By: xikes
Subject: Macro. Selecting objects with the "\"
Date Posted: 24.Mar.2011 at 08:20
Hello there.
I was looking for a macro, that locks all layers except the one, that contains the object, that I select.

^C^C-layer;LO;*;U;;\;

Somehow the pause "\" skips object selection. Any suggestions why?



Replies:
Posted By: John Connor
Date Posted: 24.Mar.2011 at 11:38
Enter name list of layer(s) to lock or <select objects>: *
Once you enter that asterisk you have essential locked all the layers haven't you?


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>




Print Page | Close Window