Here is how it works:
1) I created a simple model of a beam.
2) In pro engineer create your parametric model
3) Change the symbol of the dimensions of interest to a name that can be easily remembered and used during a
simulation:
------------------------------------------------------
A) Part -> Modify -> DimCosmetics -> Symbol
B) Select the symbol to change and rename
C) Program the model to include inputs for the dimensions names ( this is how we input variables from the outside world)
D) Program -> Edit Design
E) A editor window will pop-up, add the input variables to this program window between the 'Input / End Input' lines.
Example Program Input:
F)
Was:
Input
End Input
----------
Is:
Input
wdt Number
thk Number
End Input
G) Do you want to incorporate your changes into the model? 'Yes'
H) Get Input -> Current Vals
----------------------------------------------------------
4) Save this Model and exit
5) Create a text file called data.dat (or what ever) with the following.
wdt = 5
thk = 2
----------------------------------------------------------
6) Re-open the model and regenerate. Pro will ask you if you want to read a file. Select the data.dat file you created and the model will update.
Note: Pro will not ask for a file if the model is not programed.
7) Now Save and Exit again.
----------------------------------------------------------
Now you have a trail file that will:
Open pro
Open the model
Regenerate based on data.dat
save the model
and finally close Pro.....
I think you can do this in session I just cant remember how
----------------------------------------------------------
8) You can now run pro in the batch mode to modify the model
proe2001 pro_wait -g:no_graphics my_new_trail_file.txt
(make sure you rename the trail file and suffix it with *.txt or it will not work)
----------------------------------------------------------
9) with a little smarts you can now create a program that will generate the trail file with the appropriate files and location build in

.
I have been performing particuar tasks and saving them for future inclusion.