+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Full Member grouch19's Avatar
    Using
    Map 3D 2012
    Join Date
    Mar 2008
    Posts
    65

    Question TIFF insertion to make multiple DWG files

    Hi All,

    I have about 200 TIFF images (all Geo-refferenced)
    I need to make a separate DWG file for each one which simply has the associated image attached.

    Essentially my final outcome needs to be:
    001.TIF
    001.DWG

    So I need the DWG file to be named the same as the TIFF.

    I can import and save them one by one but this is pretty time consuming.

    Any suggestions on how to do this automatically?

    I have 3 sets of images to do this for and each is a different pixel size. I have completed one set and I was wondering if i could take the set that I have completed and somehow manipulate them to find the other group of images without having to open each DWG and attach the new image.

    Any ideas would be appreciated!

    Cheers
    If it aint broken don't touch it

  2. #2
    Senior Member Emigrato's Avatar
    Discipline
    See details...
    Emigrato's Discipline Details
    Discipline
    See details below.
    Details
    Cisco CCNA
    Using
    Map 3D 2006
    Join Date
    Sep 2011
    Posts
    154

    Default

    You can build (in a spreadsheet) a script file to achieve the goal "one tif to one dwg", then save it as text file e.g. C:\TIF2DWG.SCR on root of C disk, like this:

    _new . _mapiinsert c:\001.tif _n _zoom _e _save c:\001 _close
    _new . _mapiinsert c:\002.tif _n _zoom _e _save c:\002 _close
    .
    .
    .
    _new . _mapiinsert c:\200.tif _n _zoom _e _save c:\200 _close


    When you have it, do the following steps:

    1] open a brand new empty DWG
    2] set FILEDIA to 0
    3] command _SCRIPT
    4] issue C:\TIF2DWG
    5] enjoy the show
    6] when it stops, set FILEDIA back to 1

    Now you should have your 200 .DWG on C root, each with its own TIF inside.

    Of course, the script supposes that your TIF files are on C:\ but you can easily edit the path with Notepad.

    During the building of the .SCR file, to automatically generate the column 001.tif, 002.tif... 200.tif, you may use the old-school Dos command:
    dir /b *.tif > grouch19.txt


  3. #3
    Full Member grouch19's Avatar
    Using
    Map 3D 2012
    Join Date
    Mar 2008
    Posts
    65

    Default

    Registered forum members do not see this ad.

    Thank you so muchEmigrato. This is exactly what I needed!!!!
    Can not thank you enough for the help
    Cheers
    If it aint broken don't touch it

Similar Threads

  1. Background tiff files do not show up in PDF
    By WUDMonkey in forum AutoCAD General
    Replies: 3
    Last Post: 13th Apr 2011, 11:48 am
  2. Print que for multiple PDF/TIFF
    By yrnomad in forum AutoCAD General
    Replies: 0
    Last Post: 9th Aug 2010, 05:52 pm
  3. Unloading Tiff files on 2009
    By David Wilson777 in forum AutoCAD Beginners' Area
    Replies: 1
    Last Post: 7th Nov 2008, 11:44 am
  4. Print out TIFF files
    By kijangliar in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 2nd Nov 2007, 02:31 pm
  5. Binding tiff files
    By fiesta26 in forum AutoCAD Drawing Management & Output
    Replies: 3
    Last Post: 24th Oct 2007, 11:29 pm

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts