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
 reusing text from titleblock
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

cvdkooy
Starting Member



1 Posts

Posted - November 04 2016 :  11:02:03 AM  Show Profile  Reply with Quote
Hi,

I'm trying to 're-use' text from a titleblock.attribute because I want to note down the old document number and the revision letter it had before re-issueing it at revision A.

Something in the line of these steps:
1) Read the Titleblock-text-Revision value > $OLDREV$
2) Update the Titleblock-text-revision value with A
3) Update the Titleblock-text-dwgderivedfrom value with $FILENAME$ REV $OLDREV$

Any thoughts?

Thanks. :)

Chris

Admin
Administrator



617 Posts

Posted - November 09 2016 :  2:19:52 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Hi Chris,

This is something I've been thinking about implementing for quite some time. It would definitely require several steps...
1) Call a lisp (in batch) to generate (& append to) a CSV (or other editable text file), with extracted attribute data.
2) Ability to sort/edit the file (Excel?)
3) Apply any changes back into the DWG files.

I've found this workaround using very nice code from lee-mac, and seems that it might suit your needs for the time being. I haven't had a chance to test this...

Hopefully you can modify to suit your needs.

http://forums.augi.com/showthread.php?149778-Lisp-to-read-an-excel-and-update-attributes-in-title-blocks

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

Humfeld
Starting Member



USA
1 Posts

Posted - January 05 2018 :  3:29:53 PM  Show Profile  Reply with Quote
I'm trying to accomplish a similar thing as Chris. This code from lee-mac doesn't work for me though. Any other suggestions by any chance?
Go to Top of Page
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2018 Go To Top Of Page
This page was generated in 0.05 seconds. Snitz Forums 2000