AnsweredAssumed Answered

Run a PDM template with batch script

Question asked by David Lane on Nov 25, 2019
Latest reply on Nov 28, 2019 by Ulf Stockburger

Is it possible to run a PDM template (to create a new file) from a batch script? I would also need to echo the created file's path and name to a text file.


The reason for this is we use Creo with our PDM. I want to add a "New Part/Assembly/Drawing" button to the interface for users. I can call batch files from Creo easily. The end goal is to have the file named after a serial number (instead of prt0001 for example).


Ideally it would check if the user is logged in to the vault and working online. If that check passes, then the user would be shown the template window. Upon completion of the template the file path and name would be stored in a text file.



Alternatively could I output the next available serial number to a text file and let PDM know that number has been used?