Thank you Frederick Lauzus for your help on changing jos(tl_len) when reading in a jsf file, to convert it to a jof file.
My next question is, how do I find the "job operation setup section number" for a Face Mill? Why? When a Face Mill operation from a V4.5 jsf file is read into V11.5 the "cradius" and "sideang" are not correct. So what I would like to do is add an IF/ENDIF test of something like, IF(jos(???)=1030103 for Face Milling is true then change the cradius, sideang and the tl_len. My question is, I cannot find the appropriate Job Operation Data Tag to check. jos(op_type) returns 103.0 Any help is greatly appreciated. // Production_Milling 11.5 Windows 10/16/98 16:52:40 Macro File // w:\mcl\1.mcl // CREATED: 01/02/01 // // this is what a Face Mill operation from V4.5 comes in as... // JOS_CONTEXT_OPEN[BASEITEM=1, USERNAME="1"] JOS_FIELD_EDIT[FLDNAME="cradius", EXPR="0.031"] JOS_FIELD_EDIT[FLDNAME="sideang", EXPR="32000"] JOS_FIELD_EDIT[FLDNAME="tl_len", EXPR="32000"] JOS_CHANGES_PROMOTE[] JOS_CONTEXT_CLOSE[] // // this is what I would like it to look like so I can do a proper SHow Cut // JOS_CONTEXT_OPEN[BASEITEM=1, USERNAME="1"] JOS_FIELD_EDIT[FLDNAME="cradius", EXPR="0"] JOS_FIELD_EDIT[FLDNAME="sideang", EXPR="0"] JOS_FIELD_EDIT[FLDNAME="tl_len", EXPR="1"] JOS_CHANGES_PROMOTE[] JOS_CONTEXT_CLOSE[] Regards, Michael Senack, X354 Your local friendly neighborhood CNC Programmer ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================
