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:
|
|
|