hexagon logo

How to turn Part-Header into variables

with the following lines you can turn the 4 values of the
part-header into variables:

ASSIGN/PART = STR(GETTEXT(191, 1, {FILEHEDR}))
ASSIGN/REVI = STR(GETTEXT(192, 1, {FILEHEDR}))
ASSIGN/SERI = STR(GETTEXT(193, 1, {FILEHEDR}))
ASSIGN/STAT = STR(GETTEXT(194, 1, {FILEHEDR}))


for a short description see the attached pdf-file
Part-HeaderInVariables.pdf
Cheers Slight smile
bitsandmore
Parents
  • Also, would this only change the header in the report? Is there any way to automaticly change it in the command window?


    Jeff, if you want to change the value of what is in the header info, see this thread.

    http://www.pcdmisforum.com/showthread.php?t=3301

    Take note of that last few statements in the script: if you do NOT refresh your Report Window, your printed report will have the old information. Not until you refresh will the new info be visible. You can refresh using the refresh button in PC-DMIS, or do like I do in the script and force a refresh during execution.


    Jan.
Reply
  • Also, would this only change the header in the report? Is there any way to automaticly change it in the command window?


    Jeff, if you want to change the value of what is in the header info, see this thread.

    http://www.pcdmisforum.com/showthread.php?t=3301

    Take note of that last few statements in the script: if you do NOT refresh your Report Window, your printed report will have the old information. Not until you refresh will the new info be visible. You can refresh using the refresh button in PC-DMIS, or do like I do in the script and force a refresh during execution.


    Jan.
Children
No Data