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: 7269
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 ClosedSelecting all items in multiple layers

 Post Reply Post Reply
Author
z1990m View Drop Down
Newbie
Newbie


Joined: 03.May.2017
Location: United Kingdom
Using: AutoCAD 2014
Status: Offline
Points: 12
Direct Link To This Post Topic: Selecting all items in multiple layers
    Posted: 03.May.2017 at 14:48
Hi

I hope someone can help please??

I am trying to find a way I can automate moving all the items in one layer to a corresponding layer, as the new layer has specific linetypes and properties I would like the items to gain.

For example my utility survey once exported to a .DXF file has its own layers for each utility. I open the DXF in a drawing template that has the correct layers in it, but then have to go through and 'quickselect' each layer individually and manually change the whole drawing.

I have dabbled with the possibility of using a script file for this process but cant work out how to do complete my command using only the command bar. I'm guessing this would probably be the best way of doing what I need, but am open if someone could show me an easier way of doing this.

Many Thanks

Zak Smile
Many Thanks

Zak
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: 03.May.2017 at 15:19
Why can't you use the Layer Merge command?  The new layer you refer to would be considered the "target" 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
z1990m View Drop Down
Newbie
Newbie


Joined: 03.May.2017
Location: United Kingdom
Using: AutoCAD 2014
Status: Offline
Points: 12
Direct Link To This Post Posted: 03.May.2017 at 15:36
Hi john

That's a command i've never used before or knew about and seems to work well for what i want and is faster than my current method of quickselect. Thanks a bunch!! Smile

Is there a way I could use that for a bulk layer change e.g. 'BT' merged to 'INT_UG_BT' and 'LV' to 'INT_UG_LV' and 'SWS' to 'INT_UG_SWS' so on so forth, all at the same time? As it's still fairly time consuming going through every layer one by one.Confused


Thanks

Zak

Many Thanks

Zak
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: 03.May.2017 at 15:48
The first method outlined in this article I believe answers your question.

https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-Core/files/GUID-D7F24669-483F-4589-96AC-557F08784E7E-htm.html
"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
z1990m View Drop Down
Newbie
Newbie


Joined: 03.May.2017
Location: United Kingdom
Using: AutoCAD 2014
Status: Offline
Points: 12
Direct Link To This Post Posted: 03.May.2017 at 15:55
John

Yes the layer merge command works well and i thank you for that, i was just wondering if there was a way i could select all the layers i need merging and merge them into they're correct layers all at the same time, rather than doing it individually?

thanks

zak 
Many Thanks

Zak
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: 03.May.2017 at 16:10
I answered your question is my last post.  Maybe this will help....




Edited by John Connor - 03.May.2017 at 16:14
"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: 626
Direct Link To This Post Posted: 03.May.2017 at 20:19
Originally posted by z1990m z1990m wrote:

Hi john

That's a command i've never used before or knew about ....

Is there a way I could use that for a bulk layer change e.g. 'BT' merged to 'INT_UG_BT' and 'LV' to 'INT_UG_LV' and 'SWS' to 'INT_UG_SWS' so on so forth, all at the same time? ....


Look into another one you may not yet be familiar with -- LAYTRANS.


Edited by Kent Cooper - 03.May.2017 at 20:20
Back to Top
z1990m View Drop Down
Newbie
Newbie


Joined: 03.May.2017
Location: United Kingdom
Using: AutoCAD 2014
Status: Offline
Points: 12
Direct Link To This Post Posted: 03.May.2017 at 20:27
I've managed to write a basic script file using the layer merge command, and it seems to work really well. Thanks for your help 😊
Many Thanks

Zak
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,379 seconds.