repath a raster image

Discussion in 'AutoCAD' started by J. Logan, Apr 23, 2004.

  1. J. Logan

    J. Logan Guest

    I'm trying to write a simple script file to repath raster images that have
    been renamed. I'm using the Path option in the Image command. Following the
    command line prompts below I want the user to be able to pick the path from
    the browser at the "enter new path" line. How do I get the browser to come
    up so the user can select the new name from explorer?

    -image
    path
    *
    Enter New path: User input here.

    J. Logan
     
    J. Logan, Apr 23, 2004
    #1
  2. J. Logan

    J. Logan Guest

    Never mind I got it.

    Initially I had 4 projects to create using the same 40 dwgs & Cals for each
    project. The drawings were complete with exception to file name, drawing
    name and raster image name. I renamed all the files using DOS (dwg & cal).

    Then used Hurricane for AutoCAD to build a script file for repathing just
    one raster image (5612001.cal) for one drawing (5612001.dwg) using the
    script below. Let hurricane then create a batch script for all 40 drawings
    as if repathing them with the same cal (56512001.cal). Then simply went into
    the script and renamed the 40 (5612001.cals) with the correct cal number.

    -image
    path
    *
    Enter New path: 56512001.cal
     
    J. Logan, Apr 23, 2004
    #2
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.