Configuring the Creo View Adapter for GAF/GBF > Command Line Publishing of GBF CAD Data > Using gbfbatch
  
Using gbfbatch
The operation of the Creo View Adapter for GBF involves utilizing a single command to publish CAD data.
The form of command line is as follows:
gbfbatch [options] <cad_data>
A command line conversion has the following stages:
1. Open a command prompt and navigate to the directory containing the CAD data you want to convert.
For the purposes of this example, the directory is C:\\gbf_data\\.
2. Type in the gbfbatch command, for example:
C:\ptc\gbf_setup\gbfbatch -p output gbf_test.gbf
In this example, the command line can be broken down in order from left to right as follows:
a. The setup directory containing the adapter configuration, followed by the command to convert the data:
C:\ptc\gbf_setup\gbfbatch
b. Option -p <output path> is shown as output. This is the name of the directory where the adapter places the converted data.
c. The GBF data to be converted is given as gbf_test.gbf.
3. Press ENTER. gbfbatch is launched. When the command prompt returns, the conversion is completed.
* 
gbfbatch can publish more than one instance of CAD data at a time. To publish a list of CAD data, type all of the names on the command line, separated by spaces. Wildcards (asterisks *) can also be used, if the user is confident that the data returned will be correct.
4. You can now open the converted data output in the Creo View client.
This completes the procedure for converting GBF CAD data to Creo View format using command line publishing.