Extract text from dwg

Extract text from dwg

Anonymous
Not applicable
563 Views
3 Replies
Message 1 of 4

Extract text from dwg

Anonymous
Not applicable
I'm really unsure of where to put this, I have a collection(thousands) of dwg files for work and they need to be renamed. Within each of the files there is a name of the project, unfortunately the file name doesn't currently include it.
So I need something to extract text from the file and place it somewhere possibly(text file maybe?), then have visual basic take in the text and I would make it run a search and find the project name. Place it into an array variable possibly and make it rename each file from which it came to include project name. Message was edited by: DJ2jrdn
0 Likes
564 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Attach your sample draiwng (zip it)
with stamp only where is stored
attributed block with project name

~'J'~
0 Likes
Message 3 of 4

arcticad
Advisor
Advisor
You can use ObjectDBX to open each file. Search for your Attribute and store the value in your array

I would write what you need to a text file.

Then you can set what you need and rename the files

Shell("copy " & srcefile & " " & DestFile & " /y", 0)
---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes
Message 4 of 4

Anonymous
Not applicable
Nice offer Fatty. Very cool.
0 Likes