I have this dimensioning mcl file that sets up all the parameters I need to
dimension. Works great, except when the mcl file finishes I am not in my
Dimension Toolbox, with my Dimension Linear panel open.

// Advanced_Wedm 11.0 Windows 02/19/98 15:39:49 Macro File
// W:\MCL\DIM.mcl
// CREATED: 05/11/98
//  
//  This macro sets up the Dimension Paramenters for dimensioning.
//  You have to enter the dimension height and the number of decimal places.
//  The macro puts the dimensions on layer 44, in white on Z_Level of zero.
//  Note: I used layer 44 so you can read it in to SmartCam V4.5
//        only after you have exploded layer 44 !
//
MAC_EXE[FN="W:\\MCL\\GR_OFF"]
//
VAR_REMOVE_ALL[]
//
//  check HEIGHT variable
//
WHILE(#HEIGHT<=0)// check HEIGHT to see if it is bigger then zero
// the \n acts a c/r page 66 Automating SmartCAM with Macros
 PAUSE[TX="ERROR: The HEIGTH of the dimension must\n
                  be greater then zero!", PT=1] // Include box cancel option
    #HEIGHT=1000000  // this resets HEIGHT variable to an unknown value
ENDW
//
//  check DECIMAL variable
//
WHILE(#DECIMAL<1,OR#DECIMAL>4)// check DECIMAL to see if it is between 1 and
4
 PAUSE[TX="ERROR: The number of decimal\n
                  places must be between 1 and 4", PT=1] // Include box
cancel option
    #DECIMAL=1000000  // this resets DECIMAL variable to an unknown value
ENDW
//
DIM_RECT[XE=0, YE=0, XS=0, YS=0, XI=0, YI=0, LV=0, 
    TX="0.0000", AL=0, DT=0, NF=#DECIMAL, EG=0, ED=0, DG=#HEIGHT/4, 
    L1=1, L2=1, HT=#HEIGHT, LA=#HEIGHT/1.2, AR=1,
FN="..\\shared\\fonts\\dfont.sh2", 
    AF="..\\shared\\fonts\\arrow.sh2"]
UNDO[]
//
DIM_TEX[XE=0, YE=0, LV=0, AL=0, AN=0, DG=#HEIGHT/4, HT=#HEIGHT, 
    LA=#HEIGHT/1.2, AR=1, FN="c:\\sm11\\shared\\fonts\\dfont.SH2", 
    AF="c:\\sm11\\shared\\fonts\\arrow.SH2",     CL={0, 0, 0} ]
UNDO[]
//
COLOR_CHG[CO=7, TY=1, TL=44, ST=0]
//  
COLOR_CHG[CO=7, TY=1, TL=20, ST=0]// change x0y0 & wire start holes on die
section blocks from dark red to white
NEW_GRP[]
//
ELMT_SEQ[BA=1, EL="TOTEL()", ME=0]
ON_LAYER[LY=44, WP="XY_PLANE", LV=0, PT=0]
ON_LAYER[LY=44, WP="XY_PLANE", LV=0, PT=0]
//
MAC_EXE[FN="W:\\MCL\\GR_ON"]

My question is there some way in which I can have the Dimension Toolbox open
with the Linear Dimension panel open?

Thanks

======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================

Reply via email to