Prevent objects on a locked layer from being selected while keeping it visible

Prevent objects on a locked layer from being selected while keeping it visible

takashi_takei
Explorer Explorer
1,515 Views
8 Replies
Message 1 of 9

Prevent objects on a locked layer from being selected while keeping it visible

takashi_takei
Explorer
Explorer

Hello. I'm a beginner at AutoCAD, as I have been using Rhino and other CAD softwares.

I want to prevent objects on a locked layer from being selected while keeping it visible, just as Rhino,

as I'm losing a lot of time because of it.

 

Does anyone know the solution...?

0 Likes
1,516 Views
8 Replies
Replies (8)
Message 2 of 9

Kent1Cooper
Consultant
Consultant

This is another topic that comes up repeatedly.  You will find many threads about it, with some Searching.

Kent Cooper, AIA
0 Likes
Message 3 of 9

pendean
Community Legend
Community Legend

@takashi_takei  You'll need to use different CAD programs then, not an option in this AutoCAD golden oldie.

0 Likes
Message 4 of 9

pkolarik
Advisor
Advisor

I don't have an actual solution for you, but depending on what purpose you're creating your selection set for, including locked-layer items in your selection set won't hurt anything as you won't be able to actually do anything with the locked items. So if you're selecting objects for a command like "move", "erase", etc., it's fine to include those objects in your selection set. 

 

"ERASE 2 found
1 was on a locked layer."

 

However, if you want to get various bits of info out of your selection set (like via the Properties box), then including the locked-layer objects is a problem.

0 Likes
Message 5 of 9

rafael4AHFJ
Explorer
Explorer

When you accidentally select a locked layers on a HATCH group, it tries to hatch it. 

0 Likes
Message 6 of 9

Kent1Cooper
Consultant
Consultant

@rafael4AHFJ wrote:

When you accidentally select a locked layers on a HATCH group, it tries to hatch it. 


... and barring other problems such as no closed boundary, I assume it succeeds.

Locking a Layer in AutoCAD means only that things on it can't be modified or removed.  Hatching doesn't change the object(s) used to define the boundary, so there's no reason they can't be on locked Layers.

There are other reasons why something on a locked Layer should still be available for selection and/or Object-snapping -- as TRIM cutting edges, as EXTEND boundary edges, as reference locations for MOVE or COPY, as boundaries in PRESSPULL, as Paths for EXTRUDE or SWEEP or ARRAY, etc.  You will find it all, including an ill-advised workaround, discussed in multiple threads -- see Message 2.

Kent Cooper, AIA
0 Likes
Message 7 of 9

pendean
Community Legend
Community Legend

@rafael4AHFJ wrote:

When you accidentally select a locked layers on a HATCH group, it tries to hatch it. 


What you want does not exist. Sorry.

0 Likes
Message 8 of 9

jreidKVSUZ
Collaborator
Collaborator

No problem. If you select your "Locked" layer objects when selecting what you want hatched, just type R (for remove) and select the "Locked" layered objects you don't want to be included in your hatch selection. You still can use C for crossing, or W for windowing, or just pick them individually to be removed. Hit enter and bam... your now hatched what you wanted to hatch and the locked layers did not affect your hatching.

 

Other then that, Mr. Pendean is right, it does not exist otherwise in AutoCAD.

 

Hope this helps!

 

Thanks, JRR!!

0 Likes
Message 9 of 9

Kent1Cooper
Consultant
Consultant

@jreidKVSUZ wrote:

... just type R (for remove) and select the "Locked" layered objects you don't want to be included ....


[Or, just hold down the Shift key while you pick things, including Window and Crossing and Lasso selection, and they will be removed from the selection set.  No explicit option designation is required.]

Kent Cooper, AIA