The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Hurricane for AutoCAD
 General Discussion
 Filname in attribute extraction data?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

maro
Starting Member

3 Posts

Posted - August 20 2007 :  05:04:52 AM  Show Profile  Reply with Quote
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

Admin
Administrator



653 Posts

Posted - August 20 2007 :  05:14:24 AM  Show Profile  Reply with Quote
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

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

maro
Starting Member

3 Posts

Posted - August 20 2007 :  05:51:10 AM  Show Profile  Reply with Quote
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
Go to Top of Page

Admin
Administrator



653 Posts

Posted - August 20 2007 :  07:26:01 AM  Show Profile  Reply with Quote
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

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

maro
Starting Member

3 Posts

Posted - August 20 2007 :  08:08:29 AM  Show Profile  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2025 Go To Top Of Page
This page was generated in 0.05 seconds. Snitz Forums 2000