Skip to main content
May 27, 2014 11:13 AM UTC
Archived

Add Toolkit API to detect if Creo is running in non-interactive mode

Related products:Creo Parametric

An asynchronous Toolkit application can launch Creo in non-interactive mode by specifying "-g:no_graphics -i:rpc_input" on the command line.

Provide an easy way for other Toolkit applications to detect Creo is running in non-interactive mode, so they can change their behaviour accordingly.

For example in Object Toolkit:

  xbool pfcBaseSession::CheckIsInteractive()

2 replies

flindemanAuthor
May 27, 2014 11:17 AM UTC

A workaround is to pass in an extra, application specific, command line argument which is passed on to the user_initialize() function by prefixing it with a plus sign +:

  "-g:no_graphics -i:rpc_input +myoption:no_graphics"

Your Toolkit application can then detect +myoption:no_graphics in its user_initialize().


Mar 17, 2019 3:28 PM UTC
Status changed to: Archived