olstat
The olstat utility allows you to obtain statistics from specified .ol files. The utility applies only to *.ol files.
The command line format is olstat [options] <files>, where:
[options] is the selection(s) chosen from the table below, and
<files> is the name of the file(s) from which statistics are to be obtained.
A sample command line instruction syntax is:
c:\ptc\creo_view_adapters\bin\olstat –G part001.ol
The available olchange options are described in the following table:
olstat 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.
-G
Graphic mode. Renders each file as it is loaded.
-Gb<r,g,b>
Set graphics background color. The allowable range is 0- 255, and the default is black (0,0,0).
-Gd<dist>
Draw only the LODs that are visible when <dist> from the object, where <dist> is a measure of distance.
-Gs<x,y>
Set the graphic window size to x by y.
-Gv<flags>
Graphics viewable mode. Allowable <flags> are c to draw curves;m to draw surfaces in mesh form; s to draw surfaces in solid form; w to draw wireframes.
–H
For extended help options.
–I
Identify the executable version of the adapter being used.
–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 olstat, navigate to the creo_view_adapters\bin directory, launch rcpedit.exe, select ProductView OL Stat from the list, and click Create.