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
  • Nice and toasty 55 degrees in Connecticut today. I suppose we'll get our fair share of the crappy weather, soon enough. Can't wait for the first snowfall, in which all New England drivers panic and forget for a moment what snow is and how to drive on it.


    We've got a nice coating of ice over everything (2" thick solid ice in my driveway!) Unfortunately, people here seem to think it's snow, and that they also somehow know how to drive in snow...
Reply
  • Nice and toasty 55 degrees in Connecticut today. I suppose we'll get our fair share of the crappy weather, soon enough. Can't wait for the first snowfall, in which all New England drivers panic and forget for a moment what snow is and how to drive on it.


    We've got a nice coating of ice over everything (2" thick solid ice in my driveway!) Unfortunately, people here seem to think it's snow, and that they also somehow know how to drive in snow...
Children
No Data