powered by CADENAS

Manual

Manual

1.11.2.13.  PARTstatistic: Create statistic via batch file

You may also create the statistic per batch file or prompt. The desired settings, such as you know them from the user interface, are included as parameters during launch.

[Note] Note

PARTstatistic does not need to be running.

  1. Open a console.

  2. Switch the installation directory from PARTstatistic (where the .exe file is located).

  3. Enter the desired launch parameter.

    [Note] Note

    Syntax

    To launch via console or batch file, the following syntax is valid:

    First open pstatistic.exe.

    Then come the parameters. If there are many parameters in succession:

    After the launch parameter, the value follows separated by a space; then enter the next parameter again with a space.

    All parameters have a long and short form. In the following tables both option are separated by "OR".

Example: Launch of pstatistic.exe with parameters

Example: Launch of pstatistic.exe with parameters

The following possible launch parameters may occur in table form:

Import

-import OR -i
Indication of import path of one or more PSS files (separated by commas)

General settings for the statistic:

-catalog OR -c

Numeration of catalogs to be evaluated, separated by commas

Valid values: Short description of catalog

e.g.: abb, ahp, festo, etc.

-statistic OR -s

Statistic type (only available individually)

The following values (types of statistics) are valid:

ID Report
Top formats
Top formats
Distribution CAD systems
Distribution of CAD systems
Country proportion downloads
Proportion of country downloads
Detailed information
Detail information
Error
Errors
Files per day
Files per day
Files per weekday (average)
Files per weekday (average)
Files per hour (average)
Files per hour (average)
Files per month 
Files per month
Files per week
Files per week
Ranking list of 2D CAD systems
Ranking 2D CAD systems
Ranking list of 3D CAD systems
Ranking 3-D CAD systems
Servertype distribution 
Distribution of portals
Top customers
Top customers
Top products
Top products
Top cities / ZIP codes
Top cities / zip codes
Top folders 
Top folders
Top product lines
Top product families
Yearly business review
Annual business review

-statistic OR -s

ID Report
Top_formats
Top formats
CAD_dist
Distribution of CAD systems
Country_prop_dl 
Proportion of country downloads
Detailed_infos
Detail information
Error
Errors
Files_per_day
Files per day
Files_per_weekday_av
Files per weekday (average)
Files_per_hour_av
Files per hour (average)
Files_per_month 
Files per month
Files_per_week
Files per week
Ranking_2D_CAD
Ranking 2D CAD systems
Ranking_3D_CAD
Ranking 3-D CAD systems
Servertype_dist
Distribution of portals
Top_customers
Top customers
Top_products
Top products
Top_cities_ZIP_codes
Top cities / zip codes
Top_folders 
Top folders
Top_product_lines
Top product families
Yearly_business_review
Annual business review

[Tip] Tip

You can see the report ID in the tooltip. Move your cursor over the statistic.

This is also possible for customized statistic templates. After the name, "_CMD_ID" is always added.

Example: "Test_CMD_ID"

Report ID in the tooltip

Report ID in the tooltip

-startdate OR -sd
-enddate OR -ed

Start and finish times (only one value possible)

Entry format: MM/dd/YYYY

-exportformat OR -ef

Export format (only one value possible)

Valid values: csv, pdf , kml

-exportpath OR -ep

Export path (only one value possible)

e.g.: C:/MyExportsFolder/MyCSVExport

-logo OR -l

Path to a logo, which will be displayed in the statistics at the top left.

-topn OR -tn

Evaluation of best

Value: one number >= 1

Filter values: (Compare Section 1.11.2.8, “Set Filter ”)

-fvname OR -fvn
Filter value for name (for more than one, separate with comma)
-fvemail OR -fve

Filter value for email, only one possible

The indication of more than one value is possible and wildcards may be used.

Example:

-fvemail cap*,don.j*

This example ensures that only data whose email address begins with "cap" or "don.j" are evaluated.

-fvcompany OR -fvco

Filter value for company (for more than one separate with comma)

-fvstreet OR -fvs

Filter value for street (for more than one separate with comma)

-fvpostcode OR -fvp

Filter value for zip code (for more than one, separate with comma)

Valid values: Complete zip codes,e.g. 86153 or use wildcard:

Example: 8*,9*

[Note] Note

In the user interface, the list of the values occurs with the use of a semi-colon.

-fvcity OR -fvci

Filter value for city (you may indicate more, separated by commas)

-fvstate OR -fvst

Filter value for province (you may indicate more, separated by commas)

-fvcountry OR -fvc

Filter value for country (for more than one, separate with comma)

-fvdesctoplanguage OR -fvdl

Filter value for language (for more than one, separate with comma)

-fvphone" OR -fvph

Filter value for telephone (you may indicate more, separated by commas)

-fvfax" OR -fvf

Filter value for fax (you may indicate more, separated by commas

-fvstate OR -fvst

Filter value for server type (for more than one, separate with comma)

-fvcadname OR -fvcn

Filter value for CAD system name (for more than one CAD system, separate with comma)

-fvfilesize OR -fvfs

Filter value for file size

-fvfilesizeoperator OR -fvfso

Filter value for the operator

Valid values: = | > | >= | < | <= | <>

-fvprojectpath OR -fvpp

Filter value for project path (indicate several paths separated by commas)

Compare: user interface Filter -> Part selection

Example:

  • Open:

    pstatistic.exe 
     -catalog abb -statistic Top_formats 
      -startdate 01/01/2010 -enddate 01/31/2010
       -topn 5 -exportformat pdf 
        -exportpath c:/silenttestexportPDF2";

  • Result:

    You receive a statistical evaluation of the catalog "abb" in the PDF file "silenttestexportPDF" with statistic type "Top Formats" with the top 5 during the period of Jan. 01, 2010 until Jan. 31, 2010.

Result PDF, page 1

Result PDF, page 1