Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hi, I'm trying to find out if this workflow is possible with JLink. I need to start Creo, perform an analysis, create a graph, adjust a dimension value, rerun the analysis, and then output a file of the results. I have software that is performing optimizations, and automating this process would be beneficial.
Thanks
Solved! Go to Solution.
I wanted to wrap this up and share how I accomplished this task in case anyone else wants to do something similar.
I launched Creo using a batch file that loads a trail file. Here is the batch file I used:
"C:\ptc\Creo 10.0.3.0\Parametric\bin\parametric.exe" "C:\ptc\Creo 10.0.3.0\Parametric\bin\parametric1.psf" C:\scripts\test-trail.txt
You can run it without graphics by changing it to:
"C:\ptc\Creo 10.0.3.0\Parametric\bin\parametric.exe" "C:\ptc\Creo 10.0.3.0\Parametric\bin\parametric1.psf" -g:no_graphics C:\scripts\test-trail.txt
I wanted to wrap this up and share how I accomplished this task in case anyone else wants to do something similar.
I launched Creo using a batch file that loads a trail file. Here is the batch file I used:
"C:\ptc\Creo 10.0.3.0\Parametric\bin\parametric.exe" "C:\ptc\Creo 10.0.3.0\Parametric\bin\parametric1.psf" C:\scripts\test-trail.txt
You can run it without graphics by changing it to:
"C:\ptc\Creo 10.0.3.0\Parametric\bin\parametric.exe" "C:\ptc\Creo 10.0.3.0\Parametric\bin\parametric1.psf" -g:no_graphics C:\scripts\test-trail.txt