hexagon logo

Bad code

Can someone tell me what is wrong with this code: ASSIGN/V3=DIMB.X.MEAS-DIMV1.MEAS

Im trying to assign V3 to equal the measured value for dimension B in the x-axis minus dimension V1. V1 is a keyed in value.

Any help would be appreciated.
Parents
  • What Adam said....

    If "V1=Keyedinvalue" you should have a variable of.....

    ASSIGN/V3=DIMB.X.MEAS-V1
    



    ..... BUT, without seeing your actual code, INCLUDING the measured feature and keyed in value that are in the assignment (variable) it is hard to answer.

    I don't recall the code for a keyed in value, but you're looking for something like this, I think.
    ASSIGN/V1=KEYED IN VALUE
    ASSIGN/V3=DIMB.X.MEAS-V1
    
Reply
  • What Adam said....

    If "V1=Keyedinvalue" you should have a variable of.....

    ASSIGN/V3=DIMB.X.MEAS-V1
    



    ..... BUT, without seeing your actual code, INCLUDING the measured feature and keyed in value that are in the assignment (variable) it is hard to answer.

    I don't recall the code for a keyed in value, but you're looking for something like this, I think.
    ASSIGN/V1=KEYED IN VALUE
    ASSIGN/V3=DIMB.X.MEAS-V1
    
Children
No Data