+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Forum Newbie
    Using
    AutoCAD 2008
    Join Date
    Apr 2009
    Posts
    6

    Default Insert 300+ project tiles into one file

    Registered forum members do not see this ad.

    Hi,
    Greeting from Malaysian Autocad user. Right now i'm facing with a problem regarding
    300+ file of dwg. I want to create a single file containing all of the project titles into one
    file. That file is named List Of Drawing.dwg.

    How can i auto insert all those 200 dwg into that one dwg.

    Example:

    file01.dwg (PT.oo1),file02.dwg (PT.oo2)file03.dwg (PT.oo3).
    Above is individual files and in the braket is the project title.

    Any LISP,VBA or DDE function that can insert all those project titles
    into one file?

    What if i changed the project title "FROM" the main file? Will it auto-change
    the project title of the file01.dwg,file02 etc? Can it be done?

    Any idea? Tried using Hyperlink but it just opened the file not the text that i need
    to change.

    Thank you for your time.

  2. #2
    Super Member Pablo Ferral's Avatar
    Using
    Inventor 2010
    Join Date
    Feb 2005
    Location
    London
    Posts
    571

    Default

    Have a look at dataextraction or the Sheet set manager.

  3. #3
    Luminous Being alanjt's Avatar
    Using
    Civil 3D 2011
    Join Date
    Apr 2008
    Posts
    6,015

    Default

    I put this together a week or so ago. It will insert multiple images and place on an appropriate layer (based on image name) at even intervals, along the Y-Axis. It could easily be modified to insert XRefs however.
    DropBox | finding the light...
    Seann: ...it went crazy ex-girlfriend on me...
    eric_monceaux...its pretty funny seeing two AutoCAD Gods give each other flak...

  4. #4
    Forum Deity
    Using
    Civil 3D 2013
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    3,791

    Default

    Again the old fashioned script would do what you want inserting 300 dwgs

    You just need to write down the steps that autocad has to do

    something like

    _xattach dwg1 0,0
    _xattach dwg2 100,0
    _xattach dwg1 200,0

    etc Scripting and how to make the script file has been done lots of times search here for BIGAL and script also how to edit in Word

    It would take about 15mins to make the script file for 300 dwgs.

    Using xrefs means you can do edits both ways v's inserting a block/dwg

  5. #5
    Forum Newbie
    Using
    AutoCAD 2008
    Join Date
    Apr 2009
    Posts
    6

    Default

    Thank you for fast replies.

    BIGAL, i dont quite understand about scripting. Please advice or you can point me to the right thread.

    I'm on Autocad 2007.

    Again, thank you.

    Sheeplag

  6. #6
    Forum Deity
    Using
    Civil 3D 2013
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    3,791

    Default

    You basicly need a txt file with a list of all your dwgs in it.

    One way is to go to "start" bottom left "run Command"
    Operating system screen pops up using
    CD \mydwgs\project67 etc as example find the correct directory that contains your drawings

    then just dir *.dwg >mydwgs.txt /b
    this will make a text file with your dwgs in it you can edit it in say excell or I use word to change the filenames to what you want dwg1.dwg now becomes

    insert dwg1.dwg 0,0 keep going
    insert dwg2.dwg 100,0
    insert dwg3.dwg 200,0

    Save it as a script mydwgs.scr from acad "script mydwgs" it should then run.

    Theres lots if stuff here about making file lists using a program just search a bit more there was a good one a few days ago can not remember the subject though just start with "script", "opening files", "automating" "open drawings" etc

  7. #7
    Forum Newbie
    Using
    AutoCAD 2008
    Join Date
    Apr 2009
    Posts
    6

    Default

    Quote Originally Posted by BIGAL View Post
    You basicly need a txt file with a list of all your dwgs
    Maybe my English is the main problem here. I have 300 files and in each file contains a text/Mtext. Those text/Mtext is my project title. These text/Mtext is what i want to use to put into a single file ( List Of Drawings).

    Example:

    Road_profile01.dwg (mText = Chainage 00.00 to 10.00)
    Road_profile02.dwg (mText = Chainage 10.00 to 20.00)

    I'm not listing the file name but the text/Mtext "in" the file.

    I do hope someone can help me out. To tell the truth i'm dealing with 2K of dwg at the moment and it keeps piling up.

  8. #8
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    15,743

    Default

    Registered forum members do not see this ad.

    Hi Sheeplag,

    The attached should hopefully help you out, it will insert all blocks in a directory and subdirectories into the drawing at 0,0,0.

    Alternatively, there is this, if you have a data file.

    Let me know how you get on,

    Lee
    Attached Files
    Lee Mac Programming

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

    Just another Swamper

Similar Threads

  1. Changing a template file to a project file
    By nydesigner in forum Revit General
    Replies: 1
    Last Post: 15th Jun 2009, 09:58 pm
  2. Joining mastermap tiles
    By tommye999 in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 4
    Last Post: 12th May 2009, 04:52 pm
  3. Project File Path (VB)
    By TroutKing in forum AutoLISP, Visual LISP & DCL
    Replies: 0
    Last Post: 24th Feb 2009, 02:51 pm
  4. Checking if project file is loaded or not
    By beproj in forum AutoCAD General
    Replies: 3
    Last Post: 12th Apr 2006, 04:52 am
  5. plotting tiles of the model
    By panzer2k4 in forum AutoLISP, Visual LISP & DCL
    Replies: 1
    Last Post: 18th Sep 2005, 10:50 am

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