+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Full Member
    Using
    AutoCAD 2006
    Join Date
    Jun 2006
    Posts
    39

    Smile Inserting multiple images

    Registered forum members do not see this ad.

    I have a basic lisp routine that allows me to insert .jpeg files into a cad drawing one after the other without having to reselect the command each time and it arranges them in a row, however i still have to select one image file at a time, does anyone know if it is possible to be able to select multiple images to insert and if so have any clues/ideas as to how the lisp would look?
    Thanks in advance.
    Luke

  2. #2
    Super Moderator rkmcswain's Avatar
    Computer Details
    rkmcswain's Computer Details
    Operating System:
    Windows 7 Pro x64
    Motherboard:
    Intel DZ77RE-75K
    CPU:
    i7-3770K 3.50GHz
    RAM:
    32GB
    Graphics:
    Nvidia Quadro 2000
    Primary Storage:
    125GB SSD
    Secondary Storage:
    500GB SATA
    Monitor:
    ASUS 27" / ASUS 24"
    Discipline
    Civil
    Using
    Civil 3D 2013
    Join Date
    Sep 2005
    Location
    Houston
    Posts
    3,639

    Default

    Are they all in the same directory?
    If so, you could just get a reference to that directory and then iterate it's contents.

    If they are in different directories, then you will have to navigate them anyway, just like if you were manually doing it.

  3. #3
    Senior Member
    Using
    Architectural DT 2005
    Join Date
    Sep 2006
    Posts
    334

    Wink

    Quote Originally Posted by rkmcswain View Post
    Are they all in the same directory?
    If so, you could just get a reference to that directory and then iterate it's contents.

    If they are in different directories, then you will have to navigate them anyway, just like if you were manually doing it.
    How do you do tha R.K?

  4. #4
    Super Moderator rkmcswain's Avatar
    Computer Details
    rkmcswain's Computer Details
    Operating System:
    Windows 7 Pro x64
    Motherboard:
    Intel DZ77RE-75K
    CPU:
    i7-3770K 3.50GHz
    RAM:
    32GB
    Graphics:
    Nvidia Quadro 2000
    Primary Storage:
    125GB SSD
    Secondary Storage:
    500GB SATA
    Monitor:
    ASUS 27" / ASUS 24"
    Discipline
    Civil
    Using
    Civil 3D 2013
    Join Date
    Sep 2005
    Location
    Houston
    Posts
    3,639

    Default

    Registered forum members do not see this ad.

    Code:
    (vl-directory-files "C:\\temp\\" "*.jpg" 1)
    Returns a list of JPG files in C:\Temp

    Loop your current code through this list.

Similar Threads

  1. Inserting blocks
    By misha in forum AutoCAD General
    Replies: 1
    Last Post: 1st Jun 2006, 02:33 am
  2. Inserting multiple x-refs?
    By anfeardearg in forum AutoCAD General
    Replies: 4
    Last Post: 11th Oct 2005, 01:34 pm
  3. Inserting .wmf files
    By Siberian in forum AutoCAD Drawing Management & Output
    Replies: 1
    Last Post: 1st Sep 2005, 07:12 pm
  4. Inserting images
    By xoom2 in forum AutoCAD 3D Modelling & Rendering
    Replies: 2
    Last Post: 3rd May 2004, 02:05 pm
  5. Inserting OLE Objects
    By Dan in forum AutoCAD Beginners' Area
    Replies: 1
    Last Post: 10th Feb 2003, 02:01 pm

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