Appendices > Utilities > olchange
  
olchange
The olchange utility allows you to convert .ol files to different Creo View formats, such as .ed and .pvs. The command line format is olchange [options] <files>, where:
[options] is the selection(s) chosen from the table below, and
<files> is the name of the original file(s) to be converted to the new Creo View file.
A sample command line instruction syntax is:
c:\ptc\creo_view_adapters\bin\olchange –vT
part001.ol
The available olchange options are described in the following table:
olchange Command Line Options
Command
Purpose
–? or –h
Access the basic help page. UNIX shells may try to export the ?, so –? should be typed in quotes, for example, “-?”.
@<file>
Read options from the response file <file>.
–CP
Use piped communication to server.
–CS<host><socket>
Socket communication <host><socket> to server.
-DA<alias>
Define the worker alias name.
–d<depth>
Set the conversion file depth. When converting, an assembly file determines the depth to which the hierarchy should be traversed. The default is all.
-De<setting><value>
Define an environment setting <setting> and set its value as <value>.
-Dr<setting><value>
Define a recipe setting <setting> and set its value as <value>.
–ED
Set environment to dvconvert mode.
–EP
Set environment to publisher mode.
–EW<type>
Set environment to worker mode. <type> is passed to the Worker Agent to identify the worker type.
–H
For extended help options.
–I
Identify the executable version of the adapter being used.
–o<name>
Set output file base name.
–p<name>
Set output base path.
–r<name>
Set recipe file to be used.
–vc
Disable all console printout.
–vc1
Redirect all console printout to stdout.
–vc2
Redirect all console printout to stderr (default).
–ve[n]
Increment or set (if [n] is given) the error reporting level.–ve0 disables all error reporting, default 1.
–vl<file>
Direct all printed output to <file>.
–vL<file>
Append all printed output to <file>
-vm[module] <flag>
Enable monitor logging for the main program or given module.
–vn<file>
Direct all printed output to new log file <file>_#.log.
–vp<n>
Set the process verbosity flag.
You can list the possible modules using the –I option. The flags are listed in the source code.
–vt
Give the current date and time stamp with all printouts.
–vT
Give the process run-time stamp with all printouts.
–vw[n]
Increment or set the warning reporting level, see -ve[n].
To create a Recipe Editor file for olchange, navigate to the creo_view_adapters\bin directory, launch rcpedit.exe, select Creo View OL Change from the list, and click Create.