PDA

View Full Version : Dim text macro


Steve
05-14-1999, 06:37 AM
I am trying to create a macro to globally change the text font on some calma translations. I cannot get the macro to finish the following line: "CHANGE_DIM_TEXTS DIM_ALL FONT 'hp_i3098_v' SELECT GLOBAL ALL CONFIRM" when I trace the command it ends at global. Any suggestions? thanks Steve

Frank
05-16-1999, 11:25 PM
You can only edit dimensions of the actual part see help of "CHANGE_DIM_TEXTS" try following macro, be sure that the part tree is not iconified. DEFINE Test LOCAL Counter EDIT_PART TOP PB_LTAB_UPDATE LET Counter 1 WHILE (Counter<=(LTAB_ROWS 'PBT_LTAB')) EDIT_PART (READ_LTAB 'PBT_LTAB' Counter 2) CHANGE_DIM_TEXTS DIM_ALL FONT 'hp_i3098_v' SELECT ALL CONFIRM END LET Counter (Counter+1) END_WHILE EDIT_PART TOP END_DEFINE