The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 How to Redefine a Titleblock With Attributes

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
tim_crouse Posted - July 29 2022 : 11:50:25 AM
SEE HURRICANE TIPS AND TRICKS

Could someone offer some guidance on how to redefine a titleblock that has attributes? The script I have overlays a second titleblock, meaning it does not redefine it. The goal is to redefine the titleblock, I also need to add an ATTSYNC so the attribute font height will be updated too:

CURRENT SCRIPT:

;;INSERT A BLOCK AT 0,0
;; EDIT "yourblockname" TO SUIT
;; In this example, a block named "ic2 363rd ANSI D Border" is inserted at 0,0
_INSERT
"C:\Temp\IC2 363rd ANSI D Border.dwg"
0,0






















;ABOVE 22 CARRIAGE RETURNS ARE REQUIRED

HERE IS THE F2 DEBUG INFO FROM ACAD AFTER THE BLOCK IS INSERTED SUCCESSFULLY, I THINK


Command:
AutoCAD menu utilities loaded.
Command: _INSERT
Enter block name or : "C:\Temp\IC2 363rd ANSI D Border.dwg"

Units: Inches Conversion: 1.0000
Specify insertion point or [Basepoint/Scale/X/Y/Z/Rotate/Explode/REpeat]: 0,0

Enter X scale factor, specify opposite corner, or [Corner/XYZ] <1>:
Enter Y scale factor <use X scale factor>:

Specify rotation angle <0>:

Enter attribute values
CONTRACT NUMBER <####>:
PROJECT DRAWING NUMBER <PROJECT NUMBER: ####>:
PROJECT TITLE - default value:
####

PROJECT TITLE <accept default>:
SHEET TITLE L1 <####>:
SHEET TITLE L2 <####>:
SHEET TITLE L3 <####>:
DWG TITLE <####>:
PROJECT MANAGER <####>:
PROJECT ENGINEER <####>:
DRAFTER <####>:
REVIEWED BY: <####>:
DRAWING PACKAGE REVISION <####>:
SECURITY CLASSIFICATION: <####>:
ENTER EXPORT STATEMENT - default value:
####

ENTER EXPORT STATEMENT <accept default>:
PLOT DATE <FILE EC 1 - E-COORDINATION FIRST FLOOR OVERALL.DWG - PLOTTED 9/10/2018>:
DRAWING PACKAGE STATUS - default value:
####

DRAWING PACKAGE STATUS <accept default>:
RELEASE DATE <####>:
TOTAL SHEETS <####>:
CURRENT_SHEET <####>:
AE INFO - default value:
A/E
INFO
EDIT ME


Command: _QSAVE

Command: _SDI
Enter new value for SDI <1>: 0
Unable to display Start tab. The Start tab will be restored after the application is restarted.
**** No System Variable Changed ****

Command:

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