hexagon logo

OUTTOLS Script help

I am using the OUTTOLS script found here but need help modifying it for my needs.

We have a part that gets checked on the CMM then data is written to a csv file to be uploaded to a customers database. However if a part has an OOT dimension we rework the part and check it again. I need a way to evaluate for an OOT condition and if there is one to NOT send any data to my csv file. How can I modify the aforementioned script to pass a variable back to PCD? I will then use that variable in an IF/THEN statement to determine whether or not to export the data. Thanks!
Parents
  • This does not give any dimension values, only which dimensions are OOT. More code would be needed to do what you want.


    I'm sorry if I wasnt clear. It will give me the features....cir1, scn2, cyl3... not DIA1, PROF2 or DIA3

    It will say...

    Your part is bad!
    You have 3 dims out
    Cir1
    SCN2
    Cyl3

    when it should say

    Your part is bad!
    You have 3 dims out
    DIA1
    PROF2
    DIA3
Reply
  • This does not give any dimension values, only which dimensions are OOT. More code would be needed to do what you want.


    I'm sorry if I wasnt clear. It will give me the features....cir1, scn2, cyl3... not DIA1, PROF2 or DIA3

    It will say...

    Your part is bad!
    You have 3 dims out
    Cir1
    SCN2
    Cyl3

    when it should say

    Your part is bad!
    You have 3 dims out
    DIA1
    PROF2
    DIA3
Children
No Data