Jon,
 
here's a method to eliminate the changing of the code generator files to
"setupsht" when using the "Process - Options - List Tools" function. You
will need edit or substitute the existing "setupsht.mcl" file with the
following commands. This will store the existing code generator path, smf
and tmp file names from the Planner prior to generating the tool list. The
macro will then restore these names to the Planner afterwards.
 
 
// Production_Milling v8.02 Windows 08/23/94 06:21:09 Macro File
// quikstep\setupsht.mcl
// CREATED: 08/26/94
//  
//  
 
// declare string variables
STRING:#SmfPath
STRING:#SmfName
STRING:#TmpName
 
// store current code generator path and names
JOS_CONTEXT_OPEN[BASEITEM=16, USERNAME=""]
#SmfPath=jos_str(mach_path)
#SmfName=jos_str(smf1_master)
#TmpName=jos_str(tmp1_master)
JOS_CONTEXT_CLOSE[]
 
// generate tool list using setupsht code generator
CODE[FN=#SETUPFIL, MF="..\mill\quikstep\setupsht.SMF",
TF="..\mill\quikstep\setupsht.TMP", 
    SH=0, DC=0, ST=0, DT=0, SP=9]
 
// restore code generator path and names
JOS_CONTEXT_OPEN[BASEITEM=16, USERNAME=""]
JOS_FIELD_EDIT[FLDNAME="mach_path", EXPR=#SmfPath]
JOS_FIELD_EDIT[FLDNAME="smf1_master", EXPR=#SmfName]
JOS_FIELD_EDIT[FLDNAME="tmp1_master", EXPR=#TmpName]
JOS_CHANGES_PROMOTE[]
JOS_CONTEXT_CLOSE[]



============================================= 
 Fred Lauzus, CAM Programming Coordinator 
 High Steel Structures, Incorporated 
  mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
http://www.highsteel.com <http://www.highsteel.com/>  
============================================= 


-----Original Message-----
From: Jon Baker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 28, 2000 2:41 PM
To: [EMAIL PROTECTED]
Subject: [mfg-smartcam] set up sheets


OK, here I go, trying to learn something new.
    How in the world do you create setup sheets from smartcam.  I found the
macro LIST TOOLS under Process-Options, and thought golly, thats cool,
except it automatically changes my machine .smf and .tmp to
..\quickstep\setupsht.smf and .tmp.  Anyway, I can see the use of having
that, and being able to format the output much like a normal template file.
I also know there is a print, tool list under the File listing, but I have
no idea how to modify that.  I know it hooks up to some master format files
or something,  but I got lost and then distracted trying to figure that out
on my own.  So...... any pointers, good methods, simple setup sheets, and
what-not that you guys might be able to share with me? 
Thanks in Advance.
Jon

======================================================================
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