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.
Author |
Topic Search Topic Options
|
z1990m
Newbie
Joined: 03.May.2017
Location: United Kingdom
Using: AutoCAD 2014
Status: Offline
Points: 12
|
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
|
Many Thanks
Zak
|
|
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
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>>
|
|
z1990m
Newbie
Joined: 03.May.2017
Location: United Kingdom
Using: AutoCAD 2014
Status: Offline
Points: 12
|
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!!
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.
Thanks
Zak
|
Many Thanks
Zak
|
|
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
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>>
|
|
z1990m
Newbie
Joined: 03.May.2017
Location: United Kingdom
Using: AutoCAD 2014
Status: Offline
Points: 12
|
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
|
|
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
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>>
|
|
Kent Cooper
Senior Member
Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 626
|
Posted: 03.May.2017 at 20:19 |
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
|
|
z1990m
Newbie
Joined: 03.May.2017
Location: United Kingdom
Using: AutoCAD 2014
Status: Offline
Points: 12
|
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
|
|