Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
tim_crouse
Posted - July 30 2022 : 06:57:49 AM 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