• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • AutoCAD 2010/2011/2012 DWG Format

    Reply
    Active Contributor
    Posts: 26
    Registered: ‎06-25-2008
    Accepted Solution

    Rename Multiple layers

    228 Views, 13 Replies
    02-06-2013 08:20 AM

    All.

     

    I am working with PDS embedded in AutoCAD 2012.

     

    When i export i get all my layer names begining with reference from L000 - L510 etc etc example below:

     

    L005 hyd_ANN_CHLINES

    L006 hyd_ANN_CHTEXT

    L007 hyd_ANN_TPLINES

    L008 hyd_ANN_TPTEXT etc etc etc


    I want to rename them as follows:

     

    hyd_ANN_CHLINES

    hyd_ANN_CHTEXT

    hyd_ANN_TPLINES

    hyd_ANN_TPTEXT etc etc etc

     

    I would like to do this multiple layers without having to do each one in turn.

     

    Any thoughts would be appriciated.

     

    Cheers

     

    Ben

     

    Please use plain text.
    Distinguished Contributor
    Posts: 130
    Registered: ‎06-09-2007

    Re: Rename Multiple layers

    02-06-2013 08:35 AM in reply to: benstoodley

    Use Rename command:

    Old name: L00* h*

    New name: h*

    Please use plain text.
    Active Contributor
    Posts: 26
    Registered: ‎06-25-2008

    Re: Rename Multiple layers

    02-06-2013 08:44 AM in reply to: doben

    Thanks for the reply,

     

    That did no quite do it. It only renamed layers L001-L009 and changed them to this:

     

    h5 hyd_ANN_CHLINES

    h6 hyd_ANN_CHTEXT

    h7 hyd_ANN_TPLINES

    h8 hyd_ANN_TPTEXT

    h9 hyd_ANN_JPLINES

    L010 hyd_ANN_JPTEXT

     

    etc etc I need all references to L001- L510 removed and all layers to start with hyd.

     

    Cheers

     

    Ben

    Please use plain text.
    Distinguished Contributor
    Posts: 130
    Registered: ‎06-09-2007

    Re: Rename Multiple layers

    02-06-2013 08:59 AM in reply to: benstoodley

    Ben,

    I was able to replicate what you are trying to do, pleae see attached and give it another try.

    Please use plain text.
    Active Contributor
    Posts: 26
    Registered: ‎06-25-2008

    Re: Rename Multiple layers

    02-06-2013 09:05 AM in reply to: doben

    Hmm still not doing what i want. I have a long list of layers up to L510 some furher examples shown.

     

     

    L005 hyd_ANN_CHLINES

    L006 hyd_ANN_CHTEXT

    L007 hyd_ANN_TPLINES

    L008 hyd_ANN_TPTEXT

    L031 hyd_LSEC_CHTEXT

    L032 hyd_LSEC_HOIZ_ALIGN

    L033 hyd_LSEC_VERT_ALIGN

    L034 hyd_LSEC_JUNC_LINES

    L205 hyd_P_Contour_P

    L206 hyd_P_Contour_P_LABEL

    L207 hyd_P_Contour_S

    L208 hyd_P_Contour_S_LABEL

     

    I need all of these removed L### and leave the layer starting with hyd_........................

     

    Cheers

     

    Ben

     

    Please use plain text.
    Distinguished Contributor
    Posts: 130
    Registered: ‎06-09-2007

    Re: Rename Multiple layers

    02-06-2013 09:10 AM in reply to: benstoodley

    Sorry, I didn't pay attention to the first part of your post :

    Did you try selecting one of the layers in the rename dialoge, then backspacing and adding a wildcard?

     

    Please use plain text.
    Active Contributor
    Posts: 26
    Registered: ‎06-25-2008

    Re: Rename Multiple layers

    02-06-2013 09:16 AM in reply to: doben

    Not being too good with the wildcard character searching things, I have tried all I know and I am leaning on the mercy of the community, this is driving me made!!

     

    I've tried PDS output but it can't be done through that software so I need a ACAD solution.

    Please use plain text.
    Distinguished Contributor
    Posts: 130
    Registered: ‎06-09-2007

    Re: Rename Multiple layers

    02-06-2013 09:25 AM in reply to: benstoodley

    Ben,

    My last response may have been a bit unclear:

    In the rename dialoge select one of the layers so it is in the 'old name' box ,right click and copy it to the  the rename box then backspace to where you want the change, add the wildcard (*).

     

    Please use plain text.
    Active Contributor
    Posts: 26
    Registered: ‎06-25-2008

    Re: Rename Multiple layers

    02-06-2013 09:30 AM in reply to: doben

    That does not work. I want to remove the L### at the start of each layer name and retain the hyd_?????? after.

    Please use plain text.
    *Expert Elite*
    Posts: 1,213
    Registered: ‎12-17-2004

    Re: Rename Multiple layers

    02-06-2013 11:05 AM in reply to: benstoodley

    benstoodley, try

     

    Command: rename

    Old name: L### h*

    New name: h*

     

     

    Henrique

    Please use plain text.