Skip to main content
9-Granite
September 17, 2025
Solved

Creo batch license error

  • September 17, 2025
  • 1 reply
  • 715 views

Hello there,

I tried to run a creo batch task for two drawing file in local folder , but i got the below error .

FYKI , i have a creo customized in my company which has certain drawing frame update function, i am calling those functions using mapkey.

May be i want to run the customized creo with this creo batch file not the standalone creo .

This is the error msg in the log file

--------------------------------------------------------------
OPERATION | STATUS | COMMENTS
--------------------------------------------------------------
Connected to Creo Pro | Failed | [-40] There was a license error executing this task; C:\Program Files\PTC\Creo 9.0-M050\Parametric\bin\..\bin\parametric.exe

Best answer by MartinHanak

@TP_9862373 wrote:

Thanks @MartinHanak  for your response, could you please let me know how to create a trail file and how can it be run for 100s of drawings which should be fetched from windchill and do all the modifications and then save back to windchill (either check in or in workspace ) ?


Hi,

I don't use Windchill, so I would use the following procedure:

1.] check out files from Commonspace to workspace manually

2.] "batch processing" using a trail file

3.] check in files from workspace to Commonspace manually

 

How to create custom trail file (brief description):

TIP: search community for examples of using trail file

  1. start Creo session
  2. perform manual processing of one drawing
  3. finish Creo session
  4. open trail file related to the above session
  5. remove record of File > Exit command
  6. line no.1 and line no.2 represents the header of trail file
  7. all other lines represent manual processing of one drawing
  8. repeat these lines 100-times and modify drawing name in each block of lines
  9. save the file as my_trail.txt
  10. start Creo session and play my_trail.txt

Note: Creation of trail file could be complicated task for a beginner.

1 reply

24-Ruby III
September 17, 2025

Hi,

the answer cannot be given because I do not know your customization.

My suggestion >>> generate trail file and play it from Creo session.

9-Granite
September 18, 2025

Thanks @MartinHanak  for your response, could you please let me know how to create a trail file and how can it be run for 100s of drawings which should be fetched from windchill and do all the modifications and then save back to windchill (either check in or in workspace ) ?

24-Ruby III
September 18, 2025

@TP_9862373 wrote:

Thanks @MartinHanak  for your response, could you please let me know how to create a trail file and how can it be run for 100s of drawings which should be fetched from windchill and do all the modifications and then save back to windchill (either check in or in workspace ) ?


Hi,

I don't use Windchill, so I would use the following procedure:

1.] check out files from Commonspace to workspace manually

2.] "batch processing" using a trail file

3.] check in files from workspace to Commonspace manually

 

How to create custom trail file (brief description):

TIP: search community for examples of using trail file

  1. start Creo session
  2. perform manual processing of one drawing
  3. finish Creo session
  4. open trail file related to the above session
  5. remove record of File > Exit command
  6. line no.1 and line no.2 represents the header of trail file
  7. all other lines represent manual processing of one drawing
  8. repeat these lines 100-times and modify drawing name in each block of lines
  9. save the file as my_trail.txt
  10. start Creo session and play my_trail.txt

Note: Creation of trail file could be complicated task for a beginner.