Display full version of the post: Fast layer change to current layer?

slupi
02.08.2017, 13:24
Hello,I want to change the layer of different fresh inserted blocks to the current layer.Is there a fast way to do this? (command?)I don´t want to klick on the dropdown and look for the right layer all the time...BR.Thomas

John Connor
02.08.2017, 14:36
Are these blocks that are used often?  If so, would they normally be inserted on the same layer each time and in each drawing?Another option is to use the Make Layer current command by clicking on the appropriate icon on your Ribbon.
John Connor2017-08-02 14:48:32

slupi
02.08.2017, 15:00
Yes they are used very often, but always on different layers.About 60 different Blocksfor exampel:i have to place 100 tables on layer_+000020 tables on layer_+35006 tables and 5 chairs on layer_+6500and i want just to activate the layer_+6500 as current one and place 6 tables and 5 chairs out of the library into the layout select them and change their layer to the current one.without klicking an the dropdown an searching for the right layer.

John Connor
02.08.2017, 15:02
I suggested a second option.  There is no clicking on a dropdown and searching for the right layer.

slupi
02.08.2017, 15:20
How does it work?

John Connor
02.08.2017, 15:34
You click on the icon, the command is invoked, then you pick an object on the layer you want to make current.  Not difficult at all.
John Connor2017-08-02 15:36:19

slupi
02.08.2017, 15:50
haven´t used this toolbox before!Thanks a lot.
slupi2017-08-02 15:51:46

John Connor
02.08.2017, 16:16
It's not a toolbox or a toolbar.  It's merely a command found on the Ribbon > Layers panel. 

Kent Cooper
04.08.2017, 22:37
[QUOTE=slupi]Hello,I want to change the layer of different fresh inserted blocks to the current layer.....[/QUOTE]Am I correct that some messages here are not about what you're really asking?  They are about changing the current Layer to that of some selected object, whereas the quoted sentence sounds like you want to go the other direction - change selected object(s) so that they will be on the current Layer. This is what I use to do that:;; ToCurrentLayer.lsp [command name: TCL];; Moves selected objects to current layer.(defun C:TCL ()  (command    "_.select" pause    "_.chprop" "_previous" "" "_layer" (getvar 'clayer) ""  ); end command); end defun

Nate143
10.08.2017, 07:40
If you're using the blocks why not just edit them to always com in on the layer that you want them to come in on? or am I understanding the question incorrectly?

slupi
10.08.2017, 08:52
No the blocks always belong to different layer._laycur was exactly what i needed