The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 Filname in attribute extraction data?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

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

The Hurricane Forum © 2009 - 2025 Go To Top Of Page
This page was generated in 0.23 seconds. Snitz Forums 2000