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
 Tips and Tricks
 How to Redefine a Title Block With Attributes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tim_crouse
New Member



USA
12 Posts

Posted - July 30 2022 :  06:57:49 AM  Show Profile  Reply with Quote
Here is how you can REDEFINE a title block that has attributes. This routine replaces the block but requires or requests NO interaction or changes to any embedded attributes. This is useful if a logo has changed or something of the sort . . . . This is also pretty much the same routine as I show how to redefine a block. But this one adds ATTSYNC to refresh any attributes or reset their position

**********************************************************

;;REDEFINE A BLOCK
;; EDIT "yourblockname=" TO SUIT
;; You can add a path to the blockname
;; Or place the block in a support path directory
;; = denotes olld name = new name go find outside current drawing,
;; path or support search directory
;; Y denotes redefine
;; Command statement bypasses insert and scale prompts
;; See acad INSERT Help at command line, See -INSERT info in this help dialog
;; Notice there are no quotes in the block name associated with the attsync command
;; no space or return after ZOOM E
-INSERT
"IC2 363rd ANSI D Border="
Y
(COMMAND \e "RESUME")
_attsync N
IC2 363rd ANSI D Border
ZOOM E

***********************************************

Best Regards
Tim C.
Remember F2 is your friend as it will let you know where your code is hanging or working

Tim C.
Sent From My TI-84+
  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