Skip to main content
12-Amethyst
April 8, 2025
Solved

Start Creo and run Analysis

  • April 8, 2025
  • 1 reply
  • 485 views

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

Best answer by jbryant74

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

1 reply

jbryant7412-AmethystAuthorAnswer
12-Amethyst
April 22, 2025

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