Your Products have been synced, click here to refresh
Here is what you were asking for and seems to work well.Here's what I'm trying to do - Display a message, prior to printing results, that says "There are N dimensions out-of-tolerance, do you still want to print the report?" Of course, I could accomplish this by doing a whole lot of computations with expressions, but I'd thought I'd first inquire if PC-DMIS can set a flag, based upon the Dimension command, that I can convert into a counter.
ASSIGN/V1=GETPROGRAMINFO("NUMOOT","") IF/V1=="1" PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,AUTO=1,$ TO_PRINTER=ON,$ TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=DELETE_INSTANCES END_IF/ IF/V1=="0" C1 =COMMENT/YESNO,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO, No features are out of tolerence, would you like to print this report? IF/C1.INPUT=="YES" PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,AUTO=1,$ TO_PRINTER=ON,$ TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=DELETE_INSTANCES END_IF/ IF/C1.INPUT=="NO" PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,AUTO=1,$ TO_PRINTER=OFF,$ TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=DELETE_INSTANCES END_IF/ PRINT/REPORT,EXEC MODE=END,$ TO_FILE=OFF,AUTO=1,$ TO_PRINTER=OFF,$ TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=DELETE_INSTANCES
Here is what you were asking for and seems to work well.Here's what I'm trying to do - Display a message, prior to printing results, that says "There are N dimensions out-of-tolerance, do you still want to print the report?" Of course, I could accomplish this by doing a whole lot of computations with expressions, but I'd thought I'd first inquire if PC-DMIS can set a flag, based upon the Dimension command, that I can convert into a counter.
ASSIGN/V1=GETPROGRAMINFO("NUMOOT","") IF/V1=="1" PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,AUTO=1,$ TO_PRINTER=ON,$ TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=DELETE_INSTANCES END_IF/ IF/V1=="0" C1 =COMMENT/YESNO,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO, No features are out of tolerence, would you like to print this report? IF/C1.INPUT=="YES" PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,AUTO=1,$ TO_PRINTER=ON,$ TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=DELETE_INSTANCES END_IF/ IF/C1.INPUT=="NO" PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,AUTO=1,$ TO_PRINTER=OFF,$ TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=DELETE_INSTANCES END_IF/ PRINT/REPORT,EXEC MODE=END,$ TO_FILE=OFF,AUTO=1,$ TO_PRINTER=OFF,$ TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=DELETE_INSTANCES
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |