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
  • So here is my code. I also want to report V3 as a dimension after I assign it a value, and im not sure how to go about doing that. Thanks for the help.

    DIM V1= KEYED IN DIMENSION  OUTPUT=BOTH
    AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
    M        6.350      1.000      1.000      6.350      0.000      0.000 ----#----
    DIM B= 2D DISTANCE FROM PLANE PLN5 TO PLANE PLN1 PAR TO   XAXIS,NO_RADIUS  UNITS=MM,$
    GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
    AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
    M       88.940      1.000      1.000     88.969      0.029      0.000 ----#----
                ASSIGN/V3=DIMB.X.MEAS-DIMV1.MEAS
Reply
  • So here is my code. I also want to report V3 as a dimension after I assign it a value, and im not sure how to go about doing that. Thanks for the help.

    DIM V1= KEYED IN DIMENSION  OUTPUT=BOTH
    AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
    M        6.350      1.000      1.000      6.350      0.000      0.000 ----#----
    DIM B= 2D DISTANCE FROM PLANE PLN5 TO PLANE PLN1 PAR TO   XAXIS,NO_RADIUS  UNITS=MM,$
    GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
    AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
    M       88.940      1.000      1.000     88.969      0.029      0.000 ----#----
                ASSIGN/V3=DIMB.X.MEAS-DIMV1.MEAS
Children
No Data