Gary,
 
I am pretty sure that was a macro that I developed from examples.  I am attaching copies of three macros that work together to create the tape file and tool file and then open them in notepad which is our editor.  Place these macros in a directory then edit the call statements to point to them (notes in the files).  I am including the variables.mcl because I learned a long time ago to standardize variable names and don't use an underscore in var names because it doesn't work in the WRITE statements.  There are sections that can be removed but I left them in to show you what you can do to check different fields in the jobplan and to check geometry.  These macros will write the files to the location where the pm4 file is.  Please try these and let me know if they work.  If they do I can explain how to modify them to meet your needs.
 

Bill Wepking
Landis Gardner

-----Original Message-----
From: gary [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 12:04 PM
To: Smartcam Users Group (E-mail)
Subject: [mfg-smartcam] Macro file help

I am in need of some help with the attached macro.  This macro is a modification of a macro someone shared with this group. I do not understands all the coded inside but I managed to make it work for me to some degree.
 
This macro will post the current file in SmartCam and the open the text file with the appropriate model file name. This works grate. What is missing is along the same lines of opening multiple files that was ask in this group recently.
 
I would like for the macro to open the main . nc file like it currently dose and in addition to create and open the appropriate tooling report (modified format) and the Step report (modified format).
 
The idea is to finish programming a job execute the macro save the .nc file with the appropriate program number and then do the same for the tooling report and the step report. 
 
Currently I am posting each job every time we run the job again. This is not very efficient, therefore I would like to store all the necessary information for future use.
 
 
Regards,
Gary

Attachment: codeviewDEFAULT.mcl
Description: Binary data

Attachment: Create_tool_LIST_file_default.mcl
Description: Binary data

Attachment: variables.mcl
Description: Binary data

Reply via email to