hexagon logo

Set Flag if Dimension Out-of-Tolerance

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.
Parents
  • Hm, ok... Try changing the "Main" in the script call in your partprogram to "CheckOOT" (or change the "CheckOOT()") in the script to "Main()" and try again.

    CS1 =SCRIPT/FILENAME= C:\CMM FILES\SCRIPT BAS\OUTTOL_1.BAS
    FUNCTION/[COLOR="#FF0000"]Main[/COLOR],SHOW=YES,,


    To:

    CS1 =SCRIPT/FILENAME= C:\CMM FILES\SCRIPT BAS\OUTTOL_1.BAS
    FUNCTION/[COLOR="#FF0000"]CheckOOT[/COLOR],SHOW=YES,,


    It's Working like this ! Thank you!!

    Thanks to VPT.SE and to DPH51 !!
Reply
  • Hm, ok... Try changing the "Main" in the script call in your partprogram to "CheckOOT" (or change the "CheckOOT()") in the script to "Main()" and try again.

    CS1 =SCRIPT/FILENAME= C:\CMM FILES\SCRIPT BAS\OUTTOL_1.BAS
    FUNCTION/[COLOR="#FF0000"]Main[/COLOR],SHOW=YES,,


    To:

    CS1 =SCRIPT/FILENAME= C:\CMM FILES\SCRIPT BAS\OUTTOL_1.BAS
    FUNCTION/[COLOR="#FF0000"]CheckOOT[/COLOR],SHOW=YES,,


    It's Working like this ! Thank you!!

    Thanks to VPT.SE and to DPH51 !!
Children
No Data