The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 Smart title blocks - retrofit

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
Strobe Posted - September 13 2006 : 5:37:11 PM
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
;-------------
1   L A T E S T    R E P L I E S    (Newest First)
Admin Posted - September 13 2006 : 11:24:52 PM
Thanks for sharing.

Cool!

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