hexagon logo

How to convert comment input to generic feature nominal value

Hi,

I'm trying to get my program to take an input from the operator (thickess) and use that value (divide by 2) to create a generic mid-plane.
However when I translate my alignment to the generic plane, my results does not come out good with dimensions in reference to it.
Not sure what is going wrong. Please advise. Thank you,
See below code:

C1 =COMMENT/INPUT,NO,FULL SCREEN=NO,
MEASURE THICKNESS AND ENTER VALUE
ASSIGN/V3=C1.INPUT
ASSIGN/V1=V3/2
F1 =GENERIC/PLANE,DEPENDENT,CARTESIAN,$
NOM/XYZ,<PLN2_DCC.TX,PLN2_DCC.TY,V1>,$
MEAS/XYZ,<PLN2_DCC.X,PLN2_DCC.Y,V1>,$
NOM/IJK,<PLN2_DCC.TI,PLN2_DCC.TJ,PLN2_DCC.TK>,$
MEAS/IJK,<PLN2_DCC.I,PLN2_DCC.J,PLN2_DCC.K>​​