T O P I C R E V I E W |
maro |
Posted - August 20 2007 : 05:04:52 AM Is there a way of adding filepath and filename when extracting attribute data. When I extract the attributes from the title-block and filename from all of my drawings, I want all rows to start with path and filename and then blockname and attributedata.
Is this possible
//Mats |
4 L A T E S T R E P L I E S (Newest First) |
maro |
Posted - August 20 2007 : 08:08:29 AM You are right on it.
I am trying to import drawings to a Document Management System and I need to be sure that each record includes filename and attribute tag data so the Document Info Record are correct before I import the files.
I will see if I can make it some other way. Maybe someone else knows.
Thanks for your time
Mats |
Admin |
Posted - August 20 2007 : 07:26:01 AM I undersand now what you mean.
The template file needs the ability to insert the filename/path into it.
Checking the AutoCAD help files, there doesn't seem to be a way to do this.
I would consider adding this functionality to the "Combine Text Files" feature, so when you post-process the outputted "csv" or "txt" files, the filename/path is added to the outputted "combined text file", as the outputted filename is the same as the dwg that created it.
Does this make sense to you? Comments? 
http://www.74mph.com/tutorials/CombineTextFilesA.html Off of the tutorials page... http://www.74mph.com/tutorials.html
But this would have to be done in an update.
Regards, Bill |
maro |
Posted - August 20 2007 : 05:51:10 AM Hi Bill I have uploaded my script (Extract attribute instr.txt) and attributetemplate (instr.txt) files
Regards Mats
Download Attachment: Extract attribute instr.txt 907 Bytes
Download Attachment: instr.txt 3.58 KB |
Admin |
Posted - August 20 2007 : 05:14:24 AM Hi Matts,
Could you please post your script?
You could add the $FILENAME$ and the $FILEPATH$ tags anywhere in the user script, and Hurricane will substitute them in to your compiled script.
Let me know! Regards, Bill |