PDA

View Full Version : Print a list of file


grande-mago
04-19-2006, 10:34 PM
Good Morning, I need to print a list of file .mi so
I write a macro to do it but it doesn't plot the drawing. Why? I use the command PLOT ALL.

DEFINE PLOT_FOLDER
LOCAL FILE_1
LOCAL NOME_ME
LET FILE_1 'C:\Ins_ME10\macro\PLOT_LIST.TXT'
OPEN_INFILE 1 FILE_1
LET NOME_ME ''

WHILE (NOME_ME <> 'END-OF-FILE')

READ_FILE 1 NOME_ME
WUI_NEW

LOAD NOME_ME

PLOT ALL

END_WHILE

CLOSE_FILE 1
END_DEFINE

PLOT_FOLDER

John Scheffel
04-21-2006, 11:33 AM
It would help to provide some more details. What version of ME10 or Drafting are you running? Are you running under Windows or HP-UX? If Windows, which UI are you using (Windows, Classic, Mixed)? What happens when you run your macro? Do you get any messages?

Assuming you are running a recent version of Drafting, instead of using PLOT ALL you might try running the Plot_plot macro which is the macro called from the START PLOT button in the Classic UI.