hexagon logo

problems running script

Has anyone else tried to run this script from the Wilcox site "tracesheet.bas"? I added all the assignments per the instructions and I get no output to the variables at all. If I'm correct should I not see the selections from the menu in the assignments in my pcdims program?



Thanks Bill



PCDMIS 3.7 MR3
PCDMIS 4.3 MR1
Parents
  • I put this in the script. It will return the right values but it also wants to redraw the screen
    So I get the screen twice.

    If  Dialog (Dlg1) = "-1" Then
     V3 = "OK"
    Else
    V3 = "0"
    End If
    



    I think what you have going on here is that you have called the Dialog(Dlg1) instance twice in your program so it will open it twice. Once for the Button = Dialog(Dlg1) command and once for your if..then loop
Reply
  • I put this in the script. It will return the right values but it also wants to redraw the screen
    So I get the screen twice.

    If  Dialog (Dlg1) = "-1" Then
     V3 = "OK"
    Else
    V3 = "0"
    End If
    



    I think what you have going on here is that you have called the Dialog(Dlg1) instance twice in your program so it will open it twice. Once for the Button = Dialog(Dlg1) command and once for your if..then loop
Children
No Data