hexagon logo

Change of header text depending of what part is measured

Hello!

I'm trying figure out if there is a possibility to change part number/reference number using assignment and if function.
Program is for similar part, just in different sizes, so you can put specific model then it jumps to correct plane points.

My question is, can i change header text by variable of c10.input?
I have variables c1-c4, that is just other text that operator input manualy, but i want to change =PART_NAME, etc.


MOVE/CLEARPLANE
  IF_GOTO/C10.INPUT=="H3",GOTO = H3
  IF_GOTO/C10.INPUT=="M3",GOTO = M3
  IF_GOTO/C10.INPUT=="M1",GOTO = M1
  IF_GOTO/C10.INPUT=="SL1",GOTO = SL1
  H3 =LABEL/​


ASSIGN/V1=C10.INPUT
IF/V1=="H3"
ASSIGN/DWG.TEXT="TEXT"
END_IF/​
Parents
  • Good day,

    "part_name, Serial_Number, Revisions_number"
    are hardcoded, they cannot be changed.

    hmm can't you just take inputs in the three areas, like you've already done 4 times?​

    for example
    GETPROGRAMINFO("SERIALNUM") the value for Serial_number is read out, but you cannot change it with pcDMIS commands.
    However, with a script that is possible to read and set the value
Reply
  • Good day,

    "part_name, Serial_Number, Revisions_number"
    are hardcoded, they cannot be changed.

    hmm can't you just take inputs in the three areas, like you've already done 4 times?​

    for example
    GETPROGRAMINFO("SERIALNUM") the value for Serial_number is read out, but you cannot change it with pcDMIS commands.
    However, with a script that is possible to read and set the value
Children