Interacting with Display Table
You first have to run Creo Elements/Direct Drafting on your system. Then, before you can interact with the user and display tables, you have to load their definitions by entering the following commands at the keyboard in response to the ENTER COMMAND prompt in Creo Elements/Direct Drafting:
INPUT 'utable1.mac' [Return]
UTABLE1 [Return]
INPUT 'dtable1.mac' [Return]
DTABLE1 [Return]
The first two commands load the definition of the user table, and the second two load that of the display table.
You can now start to interact with the user and display tables. First, you can show the display table Mach_Op on the screen by:
SHOW_TABLE ON 'Mach_Op' [Return]
Then, you move the display table Mach_Op to somewhere in the middle of the screen by:
MOVE_TABLE 'Mach_Op' LOWER LEFT 0,0 300,300 END [Return]
* 
It is important to use the options LOWER LEFT in the command to make sure that the move starts from the lower-left-hand corner of the screen. Otherwise, the move starts from the current position of the table. This means that the table can possibly move outside the screen.
Then, you print the display table Mach_Op as it appears on the screen in a file dtable1.prt by:
PRINT_TABLE 'Mach_Op' 'dtable1.prt' [Return]
You can then print that file on a printer.
* 
This is a very useful command if you want to keep a hardcopy of the display table as it appears on the screen.
Then, you save the display table Mach_Op in a file dtable1.sav by:
SAVE_TABLE 'Mach_Op' 'dtable1.sav' [Return]
* 
This is a very useful command when you want to create a layout for another display table. If there is already a display table with a similar layout to that required, you can use this command to save that layout in a file and then edit it with a text-editor.
Then, you remove the display table Mach_Op from the screen by:
SHOW_TABLE OFF 'Mach_Op' [Return]
Was this helpful?