CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 5393
RSS channel - CAD tips RSS tips
RSS discussions

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 ClosedFast layer change to current layer?

 Post Reply Post Reply Page  12>
Author
slupi View Drop Down
Newbie
Newbie


Joined: 28.Aug.2015
Location: Austria
Using: AutoCAD2014
Status: Offline
Points: 6
Direct Link To This Post Topic: Fast layer change to current layer?
    Posted: 02.Aug.2017 at 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...Dead

BR.
Thomas
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 02.Aug.2017 at 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.


Edited by John Connor - 02.Aug.2017 at 14:48
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
slupi View Drop Down
Newbie
Newbie


Joined: 28.Aug.2015
Location: Austria
Using: AutoCAD2014
Status: Offline
Points: 6
Direct Link To This Post Posted: 02.Aug.2017 at 15:00
Yes they are used very often, but always on different layers.

About 60 different Blocks

for exampel:

i have to place 100 tables on layer_+0000
20 tables on layer_+3500
6 tables and 5 chairs on layer_+6500

and 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.
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 02.Aug.2017 at 15:02
I suggested a second option.  There is no clicking on a dropdown and searching for the right layer.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
slupi View Drop Down
Newbie
Newbie


Joined: 28.Aug.2015
Location: Austria
Using: AutoCAD2014
Status: Offline
Points: 6
Direct Link To This Post Posted: 02.Aug.2017 at 15:20
How does it work?
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 02.Aug.2017 at 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.




Edited by John Connor - 02.Aug.2017 at 15:36
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
slupi View Drop Down
Newbie
Newbie


Joined: 28.Aug.2015
Location: Austria
Using: AutoCAD2014
Status: Offline
Points: 6
Direct Link To This Post Posted: 02.Aug.2017 at 15:50
haven´t used this toolbox before!

Thanks a lot.


Edited by slupi - 02.Aug.2017 at 15:51
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 02.Aug.2017 at 16:16
It's not a toolbox or a toolbar.  It's merely a command found on the Ribbon > Layers panel. 
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
Kent Cooper View Drop Down
Senior Member
Senior Member


Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 627
Direct Link To This Post Posted: 04.Aug.2017 at 22:37
Originally posted by slupi slupi wrote:

Hello,
I want to change the layer of different fresh inserted blocks to the current layer.
....
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
Back to Top
Nate143 View Drop Down
Newbie
Newbie


Joined: 09.Jun.2016
Location: South Africa
Using: AutoCAD 2018, Revit 2018, Inventor 2018
Status: Offline
Points: 13
Direct Link To This Post Posted: 10.Aug.2017 at 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?
Back to Top

Related CAD tips:


 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,348 seconds.