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
 Smart title blocks - retrofit
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Strobe
New Member



USA
8 Posts

Posted - September 13 2006 :  5:37:11 PM  Show Profile  Visit Strobe's Homepage  Reply with Quote
I used the new Hurricane title block wizard to retrofit existing title blocks to be "smart" title blocks. I embeded 'field' objects in AutoCAD into existing title block attributes. The attribute named DRAW_NO contains the drawing number. The attribute named CAD_FILE contains the full path location of the DWG file. My block name was BDRTIT. Edit for your title blocks then try it out.

Once the field is inserted just name the DWG file to the same name you want in the drawing number area of your title block.

For example if the drawing number is 100-M-002 then the dwg would be named 100-M-002.dwg.

If you copy or rename a DWG file the title block updates automatically! For example if I copied 100-M-002.dwg to 100-M-003.dwg the drawing number in the title block would update to the new number automatically.

Here is my script...
(LOAD "C:/PROGRAM FILES/HURRICANE/LISP/TB_WIZ1.LSP")
;-------------
TB_WIZ1
"bdrtit"
DRAW_NO
%<AcVar Filename f "%tc1%fn2">%
REGEN
;-------------
TB_WIZ1
"bdrtit"
CAD_FILE
%<AcVar Filename f "%tc1%fn7">%
REGEN
;-------------

Admin
Administrator



652 Posts

Posted - September 13 2006 :  11:24:52 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Thanks for sharing.

Cool!

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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.33 seconds. Snitz Forums 2000