Command to start new Creo Parametric session in asynchronous jlink application
Hi All,
I am exploring jlink asynchronous method and I see in the jlink user guide that the syntax to start a noninteractive, nongraphical creo parametric session is as follows -
pfcAsyncConnection.pfcAsyncConnection.AsyncConnection_Start
("pro -g:no_graphics -i:rpc_input",<text_dir>);
where pro is the command to start Creo Parametric.
I am not sure what I should put as 'pro' command. I have tried giving the path to parametric.exe in the Creo installation directory in C drive as value of 'pro'. It worked if I give the relative path, but doesn't work for absolute path since mine has spaces in it and it doesn't get processed properly.
Is there a way to establish a session without providing the path to parametric.exe? If it is mandatory, then is there way to process the absolute path which has spaces? Since I am planning to develop a rest service from where I will call the API to start a session, I can't use the relative path and if possible would like to completely avoid the dependency on path altogether.
Thanks,
Apoorva
