Pro/Program: Specify 'from file' Location
Pro/Program: Specify 'from file' Location
(OP)
Hi all,
When Using pro/program to drive dimensions from an external file, i.e. a .txt file that lists the parameters and values, when you regen the model, it asks you what values to use for the parameters and you tell it where to find the .txt file...
Is there a way to put this file location into pro/program so when you regen it just automatically reads the .txt file instead of prompting you everytime for the location?
Cheers in advance!
Jon Reynolds
When Using pro/program to drive dimensions from an external file, i.e. a .txt file that lists the parameters and values, when you regen the model, it asks you what values to use for the parameters and you tell it where to find the .txt file...
Is there a way to put this file location into pro/program so when you regen it just automatically reads the .txt file instead of prompting you everytime for the location?
Cheers in advance!
Jon Reynolds





RE: Pro/Program: Specify 'from file' Location
Very similar to a UDF I created... I can't remember the details now, but when inserting the UDF into a new model, one of the features half way through pops up a window containing variable parameters, where you can edit the values before proceeding. Something like that every time you hit regen would be ideal.
Thanks again.
Jon
RE: Pro/Program: Specify 'from file' Location
You can also prompt the value for a single parameter only, in the drop down list options when you click the regen buttom, search for the third option, that'll do.
RE: Pro/Program: Specify 'from file' Location
Thanks for the reply... Have tried that route before with success but the only reason I am looking for a way of incorporating it into the program is so that it can be taken to any system and will work just on a basic regen. If it is a mapkey, then it is only going to work in the system that has the mapkey installed.
Cheers anyway!
Jon