hexagon logo

Using script to create folder for prg and save part program

Been reading up on the script manual (PC-DMIS) 3.6 Basic Language Reference Manual) trying to figure out how to get the script to create a folder for the report, the .prg, and any other files associated with the program by serial number of the part.

For example:
PART#_DESCRIPTION_SERIAL#_DATE_TIME

The goal is to write a script contained in the .prg that, upon execution of the part program, will create a folder in a specified directory with the variable filename using the inputs from the part program and save the .prg with the same name.

How would I pass the information from the operator inputs of the part program into the script to make this happen?
Parents
  • Denton here!

    I've got a spread of two laptops and an extra monitor set up on my kitchen table, working over VPN for the day. Way better than being in the office! Slight smile


    I'm in Plano - you got it worse than we did! At least we've both got power (apparently).

    You're showing more dedication than me - I'm looking at this as a long weekend! Slight smile
Reply
  • Denton here!

    I've got a spread of two laptops and an extra monitor set up on my kitchen table, working over VPN for the day. Way better than being in the office! Slight smile


    I'm in Plano - you got it worse than we did! At least we've both got power (apparently).

    You're showing more dedication than me - I'm looking at this as a long weekend! Slight smile
Children
No Data