change layer colors

Discussion in 'AutoCAD' started by dannyhm, Mar 10, 2005.

  1. dannyhm

    dannyhm Guest

    weve decided to redo our pen assignments. so i need to change all layer colors (our standard or not) to a diff set of new colors. i do not need to check the layer name but just change color numbers. since some users have forced color properties on objects, i have to change those as well.

    is there a routine out there that does this automatically? these changes are to improve office standards but its always hard to implement if they will have to this manually.

    thanks in advance
     
    dannyhm, Mar 10, 2005
    #1
  2. Look for laytrans in the help files and the lisp function acet-laytrans
     
    Marco Jacinto, Mar 10, 2005
    #2
  3. dannyhm

    John Laidler Guest

    here is a lisp routine that will change a layer's color...

    (command "-layer" "c" "12" "layer1" "")

    12 = color
    layer1 = the layer being changed


    --
    John Laidler
    INCAT

    www.incat.com



    colors (our standard or not) to a diff set of new colors. i do not need to
    check the layer name but just change color numbers. since some users have
    forced color properties on objects, i have to change those as well.
    are to improve office standards but its always hard to implement if they
    will have to this manually.
     
    John Laidler, Mar 11, 2005
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.