Non-Interactive and non-graphical mode in Creo using VB API

VB API allows user to start Creo in both non-interactive and non-graphical mode.
VB API only supports Creo in asynchronous mode, and while starting Creo, use the following option to initiate it in non-interactive mode
- -g:no_graphics—Turn off the graphics display.
- -i:rpc_input—Causes Creo Parametric to expect input from your asynchronous application only.
Note:
- Both of the arguments are required
- Order of the argument is not important
Code Sample
' Import Statements Imports pfcls Imports System.Configuration ' Call Function private void start_non_interactive_mode(object sender, RoutedEventArgs e) { IpfcAsyncConnection AConnection; CCpfcAsyncConnection CConnection; Dim Command As String = ConfigurationManager.AppSettings("pro -g:no_graphics -i:rpc_input").ToString() Dim TextPath As String = ConfigurationManager.AppSettings("C:\application_text_path").ToString() CConnection = new CCpfcAsyncConnection() ; AConnection = CConnection.Start (Command,TextPath); if (AConnection.IsRunning() = true ) { ' Your Code } }