Have a look at dataextraction or the Sheet set manager.
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.
Have a look at dataextraction or the Sheet set manager.
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...




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
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




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
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.
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
Lee Mac Programming
With Mathematics there is the possibility of perfect rigour, so why settle for less?
Just another Swamper
Bookmarks