User Tools

Site Tools


en:infra-convert:dev:parameter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:infra-convert:dev:parameter [2019/07/11 17:10]
me
en:infra-convert:dev:parameter [2019/08/09 15:59] (current)
me [Export quality test plans and stamped drawings]
Line 11: Line 11:
 ---- ----
  
-The startup parameter file is opened by transferring adjacent request ​parameters ​by executing #​@IC_HTML@#​. The value of the parameter is the absolute or relative path to the startup parameter file, including the file name (example syntax: "​C:/​Windows/​Temp/​StartParameterFile.json"​). Additional request parameters cannot be transferred at this point. +The startup parameter file is opened by transferring adjacent request ​parameter "​parameter" ​by executing #​@IC_HTML@#​. The value of the parameter is the absolute or relative path*¹ to the startup parameter file, here as an example ​of the syntax: "​C:/​Windows/​Temp/​StartParameterFile.json"​
- +
-> **Note** Up to program version 1.3.5.5, only absolute paths can be specified, both as values of the initial startup parameter and within the startup parameter file.+
  
 <WRAP group> <WRAP group>
Line 27: Line 25:
 </​WRAP>​ </​WRAP>​
  
-> **Note** Use slash characters ("/"​) ​to separate directory names in paths. ​Not all operating systems support ​the backslash ​("\").+The start parameter file summarizes all available call parameters except for the following*². The "​forceConfigDir"​ call parameter can be used to specify a different storage location for the directory with configuration and template files. This is created by default during installation under "​%ProgramData%/​ELIAS GmbH/​infra-Convert"​ and searched there if the parameter "​forceConfigDir"​ is not passed. 
 + 
 +<WRAP group> 
 +<WRAP indent>​ 
 +<WRAP column 75%> 
 + 
 +<​code>​ 
 +InfraConvertWPF.exe -forceConfigDir="​C:/​ProgramData/​ELIAS GmbH/​infra-Convert"​ 
 +</​code>​ 
 + 
 +</​WRAP>​ 
 +</​WRAP>​ 
 +</​WRAP>​ 
 + 
 +Both parameters can also be transferred at the same time: 
 + 
 +<WRAP group> 
 +<WRAP indent>​ 
 +<WRAP column 57%> 
 + 
 +<​code>​ 
 +InfraConvertWPF.exe -parameter="​..."​ -forceConfigDir="​..."​ 
 +</​code>​ 
 + 
 +</​WRAP>​ 
 +</​WRAP>​ 
 +</​WRAP>​ 
 + 
 +> **Note ​to *¹** Up ​to program version 1.3.5.5, only absolute ​paths can be specified, both as values of the initial startup parameter and within the startup parameter file. 
 + 
 +> **Note to *²** The configuration and template directory can only be defined from program version 1.3.7.0 with this call parameter. When using it, make sure that you also adapt the paths for the directory with Excel template files (parameter [[en:​infra-convert:​dev:​settings#​List of the settings|ExcelReportsPath]]) and the directory with tolerance tables (parameter [[en:​infra-convert:​dev:​settings#​List of the settings|ToleranceTablePath]]) in the configuration file "settings.json".
  
 This chapter explains the structure of the startup parameter file. The file may contain any part of the transfer values presented here, but it must adhere to the provisions for setting up a JSON file. This chapter explains the structure of the startup parameter file. The file may contain any part of the transfer values presented here, but it must adhere to the provisions for setting up a JSON file.
Line 147: Line 175:
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-^ Path | String | Path to the location with the file name |+^ Path | String | Path to the location with the file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​). ​|
 ^ Name | String | Project title (ignored when opening) | ^ Name | String | Project title (ignored when opening) |
 ^ Action | String | **Open** Opens an existing project\\ **Create** Creates a new project | ^ Action | String | **Open** Opens an existing project\\ **Create** Creates a new project |
Line 227: Line 255:
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-^ Path | String | Path to the location with the file name\\ \\ **Note** It is possible to specify the path in URL notation, beginning with "​https"​ and "​http",​ from program version 1.3.5.7 onwards. |+^ Path | String | Path to the location with the file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​).\\ \\ **Note** It is possible to specify the path in URL notation, beginning with "​https"​ and "​http",​ from program version 1.3.5.7 onwards. |
  
 </​WRAP>​ </​WRAP>​
Line 256: Line 284:
     "​Format":"​JSONV1",​     "​Format":"​JSONV1",​
     "​LanguageCode":"​de",​     "​LanguageCode":"​de",​
-    "​Path":"​C:/​Temp/​testplan.json"​+    "​Path":"​C:/​Temp/​testplan.json", 
 +    "​InspectionPlanVersionExportMode":​ "Last"
   },   },
   {   {
Line 264: Line 293:
   {   {
     "​Format":"​DFD",​     "​Format":"​DFD",​
-    "​Path":"​C:/​Temp/​DFD/"​+    "​Path":"​C:/​Temp/​DFD/​", 
 +    "​ExportHint":​ "​MultiFileExport"​ 
 +  }, 
 +  { 
 +    "​Format":"​DFD",​ 
 +    "​Path":"​C:/​Temp/​DFD/​testplan.dfd",​ 
 +    "​ExportHint":​ "​CombinedExport"
   },   },
   {   {
Line 292: Line 327:
 ^ Format | String | **JSONV1** | ^ Format | String | **JSONV1** |
 ^ LanguageCode | String | **de** German\\ **en** English | ^ LanguageCode | String | **de** German\\ **en** English |
-^ Path | String | Path to the location with the file name |+^ Path | String | Path to the location with the file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​). | 
 +^ Inspection​Plan​Version​Export​Mode | String | **Implicit** Export the test plan version addressed by the "​InspectionPlanVersion"​ parameter when the start parameter is called (default behavior, is applied if the parameter is not specified).\\ **Last** The most recent inspection plan version at the time of export\\ \\ **Note** The "​newest"​ inspection plan version is the inspection plan version with the highest lexical version number.\\ \\ **Note** This parameter is available as of program version 1.3.7.2 ​|
  
 The following applies for the CSV quality test plan format: The following applies for the CSV quality test plan format:
Line 299: Line 335:
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
 ^ Format | String | **CSV** | ^ Format | String | **CSV** |
-^ Path | String | Path to the location with the file name |+^ Path | String | Path to the location with the file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​). | 
 +^ Inspection​Plan​Version​Export​Mode | String | **Implicit** Export the test plan version addressed by the "​InspectionPlanVersion"​ parameter when the start parameter is called (default behavior, is applied if the parameter is not specified).\\ **Last** The most recent inspection plan version at the time of export\\ \\ **Note** The "​newest"​ inspection plan version is the inspection plan version with the highest lexical version number.\\ \\ **Note** This parameter is available as of program version 1.3.7.2 ​|
  
 The following applies for the DFD quality test plan format: The following applies for the DFD quality test plan format:
Line 306: Line 343:
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
 ^ Format | String | **DFD** | ^ Format | String | **DFD** |
-^ Path | String | Path to the location without a file name |+^ Path | String | Path to the location without a file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​). | 
 +^ Inspection​Plan​Version​Export​Mode | String | **Implicit** Export the test plan version addressed by the "​InspectionPlanVersion"​ parameter when the start parameter is called (default behavior, is applied if the parameter is not specified).\\ **Last** The most recent inspection plan version at the time of export\\ \\ **Note** The "​newest"​ inspection plan version is the inspection plan version with the highest lexical version number.\\ \\ **Note** This parameter is available as of program version 1.3.7.2 | 
 +^ ExportHint | String | **MultiFileExport** Export partial test plans to separate DFD files (default behavior, applied if parameter is not specified)\\ **CombinedExport** Export partial test plans to collective DFD file\\ \\ **Note** This parameter is available as of program version 1.3.7.2 ​|
  
 This applies to drawing exports in PDF und SVG format: This applies to drawing exports in PDF und SVG format:
Line 313: Line 352:
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
 ^ Format | String | **PDF** All drawing sheets each as a PDF file\\ **SVG** All drawing sheets each as a SVG file | ^ Format | String | **PDF** All drawing sheets each as a PDF file\\ **SVG** All drawing sheets each as a SVG file |
-^ Path | String | Path to the location without ​file name |+^ Path | String | Path to storage ​location, for multiple export ("​MultiFileExport"​) ​without file name, for combined export ("​CombinedExport"​) with file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​). | 
 +^ Inspection​Plan​Version​Export​Mode | String | **Implicit** Export the test plan version addressed by the "​InspectionPlanVersion"​ parameter when the start parameter is called (default behavior, is applied if the parameter is not specified).\\ **Last** The most recent inspection plan version at the time of export\\ \\ **Note** The "​newest"​ inspection plan version is the inspection plan version with the highest lexical version number.\\ \\ **Note** This parameter is available as of program version 1.3.7.2 ​|
  
 This applies to drawing exports in PNG, JPG, BMP, TIF und GIF format: This applies to drawing exports in PNG, JPG, BMP, TIF und GIF format:
Line 321: Line 361:
 ^ Format | String | **Png** All drawing sheets and/or all stamped characteristics in extracts as PNG files\\ **Jpg** All drawing sheets and/or all stamped characteristics in extracts as JPG files\\ **Bmp** All drawing sheets and/or all stamped characteristics in extracts as BMP files\\ **Tif** All drawing sheets and/or all stamped characteristics in extracts as TIF files\\ **Gif** All drawing sheets and/or all stamped characteristics in extracts as GIF files | ^ Format | String | **Png** All drawing sheets and/or all stamped characteristics in extracts as PNG files\\ **Jpg** All drawing sheets and/or all stamped characteristics in extracts as JPG files\\ **Bmp** All drawing sheets and/or all stamped characteristics in extracts as BMP files\\ **Tif** All drawing sheets and/or all stamped characteristics in extracts as TIF files\\ **Gif** All drawing sheets and/or all stamped characteristics in extracts as GIF files |
 ^ Mode | String | **Drawing** Only drawing sheets\\ **Stamps** Only stamp graphics\\ \\ If **Mode** is not specified, drawing and stamp graphics are exported together | ^ Mode | String | **Drawing** Only drawing sheets\\ **Stamps** Only stamp graphics\\ \\ If **Mode** is not specified, drawing and stamp graphics are exported together |
-^ Path | String | Path to the location without a file name |+^ Path | String | Path to the location without a file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​). | 
 +^ Inspection​Plan​Version​Export​Mode | String | **Implicit** Export the test plan version addressed by the "​InspectionPlanVersion"​ parameter when the start parameter is called (default behavior, is applied if the parameter is not specified).\\ **Last** The most recent inspection plan version at the time of export\\ \\ **Note** The "​newest"​ inspection plan version is the inspection plan version with the highest lexical version number.\\ \\ **Note** This parameter is available as of program version 1.3.7.2 ​|
  
 </​WRAP>​ </​WRAP>​
Line 486: Line 527:
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-^ Path | String | Path to the location and file name |+^ Path | String | Path to the location and file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​). ​|
  
 </​WRAP>​ </​WRAP>​
Line 518: Line 559:
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-^ Path | String | Path to the location and file name |+^ Path | String | Path to the location and file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​). ​|
  
 </​WRAP>​ </​WRAP>​
Line 548: Line 589:
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-^ Path | String | Path to the location and file name |+^ Path | String | Path to the location and file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​). ​|
  
 </​WRAP>​ </​WRAP>​
Line 578: Line 619:
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Typ  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Typ  ^  Value/​Content ​ ^
-^ Path | String | Path to the location and file name |+^ Path | String | Path to the location and file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​). ​|
  
 </​WRAP>​ </​WRAP>​
Line 607: Line 648:
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Typ  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Typ  ^  Value/​Content ​ ^
-^ Path | String | Path to the location and file name |+^ Path | String | Path to the location and file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​). ​|
  
 </​WRAP>​ </​WRAP>​
Line 637: Line 678:
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Typ  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Typ  ^  Value/​Content ​ ^
-^ Path | String | Path to the location and file name |+^ Path | String | Path to the location and file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​). ​|
  
 </​WRAP>​ </​WRAP>​
en/infra-convert/dev/parameter.1562857833.txt.gz · Last modified: 2019/07/11 17:10 by me