Your Products have been synced, click here to refresh
$$ NO,==================================================== ,End of Program, Save and Report Functions ,==================================================== $$ NO,==================================================== ,Change nam to "Customer\\Part Reference #\\" ,==================================================== ASSIGN/RTIME=SYSTEMTIME("HHmm") ASSIGN/DATE=SYSTEMDATE("MMddyyyy") ASSIGN/INFO="_"+DATE+"_"+RTIME+"_"+OPERATOR+"-"+SHIFT+"_"+JOB+"_"+SAMP+"_" ASSIGN/NAM="Default\\" [COLOR=#ff0000][B]ASSIGN/NAME=CMMPROGRAM+INFO+".PDF" [/B][/COLOR]$$ NO,==================================================== ,Verify RPTPath is to the appropiate location ,==================================================== ASSIGN/DEFAULTPATH="W:\\Quality\\CMM Reports\\" [B][COLOR=#ff0000]ASSIGN/RPTPATH=DEFAULTPATH + NAM [/COLOR][/B]$$ NO,==================================================== ,Refresh Report screen after Execution Finished ,==================================================== Refresh_Report2=SCRIPT/FILENAME= C:\PC-DMIS\4_3\BASIC SCRIPTS\REPORT REFRESH.BAS FUNCTION/Main,SHOW=NO,, STARTSCRIPT/ $$ NO,==================================================== ,Print confirmation, YES/NO ,==================================================== PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,APPEND=[B][COLOR=#ff0000]RPTPATH+NAME[/COLOR][/B],$ TO_PRINTER=ON,$ TO_DMIS_REPORT=OFF,FILE_OPTION=APPEND,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=KEEP_INSTANCES PDF_VIEW =SCRIPT/FILENAME= C:\PC-DMIS\4_3\BASIC SCRIPTS\PDF VIEW AFTER EXECUTE.BAS FUNCTION/Main,SHOW=NO,[B][COLOR=#ff0000]ARG1=STR(RPTPATH+NAME[/COLOR][COLOR=#ff0000]),, [/COLOR][/B] Sub[SIZE=2][COLOR=#000000] Main(strFileName [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]As[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]String[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#000000])[/COLOR] [/SIZE][SIZE=2][COLOR=#007f00][SIZE=2][COLOR=#007f00]'assign ARG1=STR(RPTPATH+Name) In script Line after SHOW=YES [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Shell "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe " & strFileName [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]End[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]Sub [/COLOR][/SIZE][/COLOR][/SIZE]
PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,APPEND=[B]PDFNAME[/B],$ TO_PRINTER=ON,$ TO_DMIS_REPORT=OFF,FILE_OPTION=APPEND,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=KEEP_INSTANCES PDF_VIEW =SCRIPT/FILENAME= C:\PC-DMIS\4_3\BASIC SCRIPTS\PDF VIEW AFTER EXECUTE.BAS FUNCTION/Main,SHOW=NO,
[COLOR=#000000][SIZE=2][B]ARG1=STR([/B]
$$ NO,==================================================== ,End of Program, Save and Report Functions ,==================================================== $$ NO,==================================================== ,Change nam to "Customer\\Part Reference #\\" ,==================================================== ASSIGN/RTIME=SYSTEMTIME("HHmm") ASSIGN/DATE=SYSTEMDATE("MMddyyyy") ASSIGN/INFO="_"+DATE+"_"+RTIME+"_"+OPERATOR+"-"+SHIFT+"_"+JOB+"_"+SAMP+"_" ASSIGN/NAM="Default\\" [COLOR=#ff0000][B]ASSIGN/NAME=CMMPROGRAM+INFO+".PDF" [/B][/COLOR]$$ NO,==================================================== ,Verify RPTPath is to the appropiate location ,==================================================== ASSIGN/DEFAULTPATH="W:\\Quality\\CMM Reports\\" [B][COLOR=#ff0000]ASSIGN/RPTPATH=DEFAULTPATH + NAM [/COLOR][/B]$$ NO,==================================================== ,Refresh Report screen after Execution Finished ,==================================================== Refresh_Report2=SCRIPT/FILENAME= C:\PC-DMIS\4_3\BASIC SCRIPTS\REPORT REFRESH.BAS FUNCTION/Main,SHOW=NO,, STARTSCRIPT/ $$ NO,==================================================== ,Print confirmation, YES/NO ,==================================================== PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,APPEND=[B][COLOR=#ff0000]RPTPATH+NAME[/COLOR][/B],$ TO_PRINTER=ON,$ TO_DMIS_REPORT=OFF,FILE_OPTION=APPEND,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=KEEP_INSTANCES PDF_VIEW =SCRIPT/FILENAME= C:\PC-DMIS\4_3\BASIC SCRIPTS\PDF VIEW AFTER EXECUTE.BAS FUNCTION/Main,SHOW=NO,[B][COLOR=#ff0000]ARG1=STR(RPTPATH+NAME[/COLOR][COLOR=#ff0000]),, [/COLOR][/B] Sub[SIZE=2][COLOR=#000000] Main(strFileName [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]As[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]String[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#000000])[/COLOR] [/SIZE][SIZE=2][COLOR=#007f00][SIZE=2][COLOR=#007f00]'assign ARG1=STR(RPTPATH+Name) In script Line after SHOW=YES [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Shell "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe " & strFileName [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]End[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]Sub [/COLOR][/SIZE][/COLOR][/SIZE]
PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,APPEND=[B]PDFNAME[/B],$ TO_PRINTER=ON,$ TO_DMIS_REPORT=OFF,FILE_OPTION=APPEND,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=KEEP_INSTANCES PDF_VIEW =SCRIPT/FILENAME= C:\PC-DMIS\4_3\BASIC SCRIPTS\PDF VIEW AFTER EXECUTE.BAS FUNCTION/Main,SHOW=NO,
[COLOR=#000000][SIZE=2][B]ARG1=STR([/B]
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |