Chnage layer colour on multiple drawings

Discussion in 'AutoCAD' started by zx6roo, Apr 2, 2004.

  1. zx6roo

    zx6roo Guest

    I need to change the colour of a couple of layers on hundreds of drawings. Is there a simple way of doing this?
     
    zx6roo, Apr 2, 2004
    #1
  2. zx6roo

    Ed Jobe Guest

    Write a script to process one dwg. Then run the script on the whole batch
    using ScriptPro.

    --
    ----
    Ed
    ----
    Is there a simple way of doing this?
     
    Ed Jobe, Apr 2, 2004
    #2
  3. zx6roo

    Mike Weaver Guest

    There are two answers.
    First and easiest for a one time project is to use a script.

    Second is will take more developement time but will run significantly
    faster - using ObjectDBX (requires Acad 2000 or later). A bit of background
    information can be found here:
    http://mysite.verizon.net/~vze2vjds/acadx/objectdbx.htm Basically,
    ObjectDBX allows one to manipulate a drawing using vba/vb/vlisp without
    having to open the drawing in the drawing editor. ObjectDBX is an
    undocumented component of AutoCAD. Google returned "about 3,940" hits when
    searched for objectdbx.

    Hope that helps,
    Mike Weaver





    Is there a simple way of doing this?
     
    Mike Weaver, Apr 2, 2004
    #3
  4. zx6roo

    zx6roo Guest

    I can't create a macro because the VBA manager won't work. It keeps telling me I failed to create a VBA project and closing down.
    I can't even use vbaload or vbarun. Would anyone know if it is because Office XP got loaded over the top of it?
     
    zx6roo, Apr 3, 2004
    #4
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.