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/06/04 14:02]
me [Settings]
en:infra-convert:dev:parameter [2023/11/28 14:34] (current)
me [Setting the language]
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 full 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 summarizes ​parameters ​to be passed when starting ​#​@IC_HTML@# ​in a file in JSON formatThis page describes under [[#Basics]] the call, the basic requirements, ​the start parameter ​"​forceConfigDir"​ and in the following sections ​the individual parts of the start parameter file. Examples of start parameter scenarios can be found in section [[#Examples for start parameter files]].
  
 +<WRAP noprint>
 <WRAP group> <WRAP group>
-<WRAP indent>​ +<WRAP column ​48%> 
-<WRAP column ​70%>+//​**__Content__**//​
  
-<​code>​ + • [[#​Basics]]\\ ​ 
-InfraConvertWPF.exe -parameter="​C:​/Windows/Temp/​StartParameterFile.json"​ +• [[#Setting the language]]\\  
-</​code>​+ • [[#Open or create project]]\\  
 + • [[#Open or create quality test plan]]\\  
 + • [[#Transfer drawing]]\\  
 + • [[#Export quality test plans and stamped drawings]]\\  
 + • [[#Invoke function]]\\  
 + • [[#Zoom on stamp]]\\  
 + • [[#​Settings]]\\  
 + • [[#​Parameter file for tags]]\\  
 + • [[#​Parameter file for characteristic classes]]\\  
 + • [[#​Parameter file for characteristic categories]]\\  
 + • [[#​Parameter file for stamp templates]]\\  
 + • [[#​Parameter file for showing/hiding/locking control elements]]\\ ​ 
 +• [[#Editing characteristics]]\\  
 + • [[#Editing tags]]\\  
 + • [[#Examples for start parameter files]] 
 + 
 +\\ 
  
 </​WRAP>​ </​WRAP>​
Line 25: Line 42:
 </​WRAP>​ </​WRAP>​
  
-> **Note** Use slash characters ("/"​) to separate directory names in paths. Not all operating systems support the backslash ("​\"​).+===== Basics =====
  
-This chapter explains ​the structure of the startup ​parameter ​fileThe file may contain ​any part of the transfer values presented here, but it must adhere to the provisions for setting up a JSON file.+**Call up** 
 + 
 +The path to the start parameter file is passed to the command to run #@IC_HTML@# with "parameter"Example with any file path:
  
 <WRAP group> <WRAP group>
-<WRAP column ​61%>+<WRAP indent>​ 
 +<WRAP column ​70%>
  
-You can find a complete example of a startup ​parameter ​file hereAppendix ​[[en:​infra-convert:​dev:​parameter_beispiel|Example startup parameter file]]+<​code>​ 
 +…/​InfraConvertWPF.exe -parameter="C:/​Windows/​Temp/​StartParameterFile.json"​ 
 +</code>
  
 </​WRAP>​ </​WRAP>​
-<​WRAP ​column 33%>+</WRAP> 
 +</WRAP>
  
-[[en:infra-convert:dev:​parameter_beispiel|{{ :en:infra-convert:​dev:​startparameterdatei_beispiel.png?​nolink&​250 |}}]]+> **Note** Note that special characters in the name/path of the startup parameter file will only be passed correctly to #@IC_HTML@# if they have been encoded correctly. This can be ensured in a batch file saved as UTF-8, for example, by specifying the code page CHCP 65001 for UTF-8. Example: 
 +> <​code>​chcp 65001 
 +…/​InfraConvertWpf.exe ​-parameter="​Démarrer.json"</​code>​
  
-\\ +**Basic requirements for the startup parameter file**
  
-</​WRAP>​ +  * The character encoding UTF-8 is expected. 
-</WRAP>+  * Paths can be specified absolute or relative.  
 +  * The file can contain any part of the parameters presented here. 
 +  * The file must adhere to the [[https://​json.org/json-en.html|provisions of the JSON format]].
  
 +**Startup parameter »forceConfigDir«**
 +
 +Outside the start parameter file another call up parameter can be used. With "​forceConfigDir"​ another location for the directory with configuration and template files can be defined than the directory "​%ProgramData%/​ELIAS GmbH/​infra-Convert"​ created by default during installation.
  
 <WRAP group> <WRAP group>
-<WRAP column ​61%>+<WRAP indent>​ 
 +<WRAP column ​75%>
  
-A self-contained set of parameter files for direct testing can be downloaded from the link below. +<code
- +…/​InfraConvertWPF.exe -forceConfigDir="​C:/​ProgramData/​ELIAS GmbH/​infra-Convert"​ 
-</WRAP+</code>
-<WRAP column 33%> +
-<WRAP centeralign> +
- +
-{{:​en:​infra-convert:​dev:​infraCONVERTParametertest.zip|infraCONVERTParametertest.zip}}+
  
 </​WRAP>​ </​WRAP>​
Line 60: Line 87:
 </​WRAP>​ </​WRAP>​
  
-Unpack the ZIP archive in the folder "​C:/​Windows/​Temp/"​ and execute #@IC_HTML@# with reference ​to the start parameter file contained in it. You can pass the start parameter e. g. with the included Windows batch file.+It is also possible ​to pass both parameters at the same time:
  
-<WRAP noprint> 
 <WRAP group> <WRAP group>
-<WRAP column ​48%> +<WRAP indent>​ 
-//​**__Content__**//​+<WRAP column ​57%>
  
- • [[en:​infra-convert:​dev:​parameter#​Setting the language]]\\ ​ +<​code>​ 
-• [[en:infra-convert:​dev:​parameter#Open or create project]]\\  +…/​InfraConvertWPF.exe ​-parameter="​…/" ​-forceConfigDir="​…/"​ 
- • [[en:infra-convert:​dev:​parameter#​Open or create quality test plan]]\\ ​ +</code>
-• [[en:​infra-convert:​dev:​parameter#​Transfer drawing]]\\  +
- • [[en:​infra-convert:​dev:​parameter#​Export quality test plans and stamped drawings]]\\  +
- • [[en:​infra-convert:​dev:​parameter#​Invoke function]]\\  +
- • [[en:​infra-convert:​dev:​parameter#​Zoom on stamp]]\\  +
- • [[en:​infra-convert:​dev:​parameter#​Settings]]\\  +
- • [[en:​infra-convert:​dev:​parameter#​Parameter file for tags]]\\  +
- • [[en:​infra-convert:​dev:​parameter#​Parameter file for characteristic classes]]\\  +
- • [[en:​infra-convert:​dev:​parameter#​Parameter file for characteristic categories]]\\  +
- • [[en:​infra-convert:​dev:​parameter#​Parameter file for stamp templates]]\\  +
- • [[en:​infra-convert:​dev:​parameter#​Parameter file for showing/hiding/​locking control elements]]\\  +
- • [[en:​infra-convert:​dev:​parameter#​Editing characteristics]]\\  +
- • [[en:​infra-convert:​dev:​parameter#​Editing tags]] +
- +
-\\ +
  
 </​WRAP>​ </​WRAP>​
 </​WRAP>​ </​WRAP>​
 </​WRAP>​ </​WRAP>​
 +
 +> **Note to** When using "​forceConfigDir",​ 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"​.
 +
 +
 +\\ 
  
 ===== Setting the language ===== ===== Setting the language =====
Line 111: Line 128:
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-^ LanguageCode | String | **de** German\\ **en** English\\ **fr** French\\ **it** Italian\\ **es** Spanish\\ **ru** Russian ​|+^ LanguageCode | String | **de** German\\ **en** English\\ **fr** French\\ **it** Italian\\ **es** Spanish\\ **zh** Chinese\\ **cs** Czech\\ **bg** Bulgarian ​|
  
 </​WRAP>​ </​WRAP>​
Line 140: Line 157:
   "​Name":"​Beispiel Projekt",​   "​Name":"​Beispiel Projekt",​
   "​Action":"​Open"​   "​Action":"​Open"​
-},+}
 </​code>​ </​code>​
  
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-^ Path | String | Full 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 ("​\\"​) (Mandatory information) ​
-^ Name | String | Project title (ignored when opening) |+^ Name | String | Project title\\ \\ **Note** This is required when creating ​("​Create"​), ​ignored when opening ​("​Open"​)|
 ^ 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 174: Line 191:
   "​Version":​ "​0",​   "​Version":​ "​0",​
   "​Action":​ "​Create"​   "​Action":​ "​Create"​
-},+}
 </​code>​ </​code>​
  
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-^ Name | String | Quality test plan title (ignored when opening) | +^ Name | String | Quality test plan title (Mandatory information) | 
-^ Version | Decimal | Version of the quality test plan (ignored when opening) |+^ Version | Decimal | Version of the quality test plan (Mandatory information) |
 ^ Action | String | **Open** Opens an existing quality test plan\\ **Create** Creates a new quality test plan | ^ Action | String | **Open** Opens an existing quality test plan\\ **Create** Creates a new quality test plan |
  
Line 209: Line 226:
   },   },
   {   {
-  "​Path":"​C:/​Users/​user1/​Desktop/​drawing_2.igs"+  "​Path":"​C:/​Users/​user1/​Desktop/​drawing_2.dwg",​ 
 +  "​ImportBehavior":​ "Ask"
   },   },
   {   {
-  "​Path":"​C:/​Users/​user1/​Desktop/​drawing_3.pdf"+  "​Path":"​C:/​Users/​user1/​Desktop/​drawing_3.igs"
   },   },
   {   {
-  "​Path":"​C:/​Users/​user1/​Desktop/​drawing_4.icp"​+  "​Path":"​C:/​Users/​user1/​Desktop/​drawing_4.pdf",​ 
 +  "​ImportBehavior":​ "​ImportAllPages"​ 
 +  }, 
 +  { 
 +  "​Path":"​C:/​Users/​user1/​Desktop/​drawing_5.icp
 +  }, 
 +  { 
 +  "​Path":"​https://​ftp.elias-gmbh.de/​fictional_path/​example.dwg"
   }   }
-],+]
 </​code>​ </​code>​
 +
 +This applies to **all** imported drawings:
 +
 +|< 100% 33% 12% 54% >|
 +^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
 +^ Path | String | Path to the location with the file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​). |
 +
 +This applies to drawing imports in **PDF** format:
 +
 +|< 100% 33% 12% 54% >|
 +^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
 +^ ImportBehavior | String | Behaviour when importing multi-page PDF files:\\ **Ask** Allways ask before import\\ **ImportFirstPage** Import first page only\\ **ImportAllPages** Allways import all sheets |
 +
 +This applies to drawing imports in **DXF** and **DWG** format:
 +
 +|< 100% 33% 12% 54% >|
 +^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
 +^ ImportBehavior | String | Behaviour when importing DXF and DWG files:\\ **Ask** Allways ask before import\\ **ImportModel** Always import model space only\\ **ImportPaperSpaces** Always import all sheets from paper space\\ **ImportAllLayouts** Allways import all sheets |
 +
 +This applies to the import of **ICP** project files:
  
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-Path | String | Full path to the location with the file name |+ImportBehavior ​| String | Behavior when importing ICP files:\\ **Ask** When reloading PDF, DXF and DWG drawing files, ask the user to select ​the page or sheet in the file\\ **ImportModel** When reloading DXF and DWG files, always import the model space only\\ \\ **Note** The parameter is optional. If it is not specified, the first page is automatically selected from a PDF file or the model space is selected in a DXF and DWG file|
  
 </​WRAP>​ </​WRAP>​
Line 236: Line 281:
 With the **Targets** field, specify that when the **Save project** command is executed in quality test plans and/or stamped drawings and/or drawing details in #@IC_HTML@# should be exported. With the **Targets** field, specify that when the **Save project** command is executed in quality test plans and/or stamped drawings and/or drawing details in #@IC_HTML@# should be exported.
  
-> **Note** We recommend you use the quality test plan format ​JSONV1 ​because it supports all the characteristics of #​@IC_HTML@#​.+Exports are done in list order (from programme version 2.7.9). Test plans should be exported at the end. At least in JSONV2 format, the storage paths for stamp graphics are only listed if the target export has run beforehand. 
 + 
 +> **Note** We recommend you use the quality test plan format ​JSONV2 ​because it supports all the characteristics of #​@IC_HTML@#​.
  
 > **See also** > **See also**
 +> Administrator’s Manual #@IC_HTML@# > Export > [[en:​infra-convert:​dev:​export:​jsonv2|Quality test plan format JSONV2]]
 +
 > Administrator’s Manual #@IC_HTML@# > Export > [[en:​infra-convert:​dev:​export:​jsonv1|Quality test plan format JSONV1]] > Administrator’s Manual #@IC_HTML@# > Export > [[en:​infra-convert:​dev:​export:​jsonv1|Quality test plan format JSONV1]]
  
Line 249: Line 298:
 "​Targets":​ [ "​Targets":​ [
   {   {
-    "​Format":"​JSONV1", +    "​Format":"​PDF", 
-    "LanguageCode":"​de", +    "ColorOption":"​MonoColorStamp", 
-    "Path":"​C:/Temp/testplan.json"+    "ExportOnSaveOnly": ​false, 
 +    "Path":"​Export/PDF/"
   },   },
   {   {
-    "​Format":"​CSV", +    "​Format":"​Png", 
-    "Path":"​C:/Temp/CSV/​testplan.csv"+    "ExportOnSaveOnly": ​true, 
 +    "Path":"​Export/Graphics/" 
 +    "​ImageOptions":​{ 
 +      "​Width":​5000,​ 
 +      "​Height":​3500,​ 
 +      "​Bit":​24,​ 
 +      "​SupersamplingAlgorithm":"​Bilinear",​ 
 +      "​SupersamplingFactor":​3 ​     ​
   },   },
   {   {
-    "Format":"​DFD", +    "StampImageOptions":
-    "Path":"​C:/Temp/DFD/"+      ​"Width":1500
 +      "Height":1000, 
 +      "Bit":24, 
 +      ​"SupersamplingAlgorithm":"​Bilinear",​ 
 +      "​SupersamplingFactor":​2 ​    
   },   },
   {   {
-    "​Format":"​PDF", +    "​Format":"​Tif", 
-    "​Path":"​C:/Temp/PDF/"+    "​Path":"​Export/Graphics/"
 +    "​Mode":"​Drawing",​ 
 +    "​ImageOptions":​{ 
 +      "​SupersamplingFactor":​3,​ 
 +      "​SupersamplingAlgorithm":"​Lanczos3"​ 
 +    }
   },   },
   {   {
-    "​Format":"​Png", +    "​Format":"​Bmp", 
-    "Path":"​C:/Temp/​Graphics/",​+    "ExportOnSaveOnly": ​true, 
 +    "Path":"​Export/​Graphics/"​
 +    "​Mode":"​Stamps"​ 
 +  },
   {   {
-    "​Format":"​Jpg", +    "​Format":"​JSONV2", 
-    "Path":"​C:/​Temp/​Graphics/​", +    "LanguageCode":"​de", 
-    "Mode":"​Drawing"+    "Path":"​Export/test plan.json"
   },   },
   {   {
-    "​Format":"​Bmp", +    "​Format":"​JSONV1",​ 
-    "​Path":"​C:/Temp/Graphics/", +    "​LanguageCode":"​de", 
-    "Mode":"​Stamps"+    "​Path":"​Export/​prüfplan.json",​ 
 +    "​InspectionPlanVersionExportMode"​"​Last"​ 
 +  }, 
 +  { 
 +    "​Format":"​CSV",​ 
 +    "​Path":"​Export/test plan.csv"​ 
 +  }, 
 +  { 
 +    "​Format":"​DFD",​ 
 +    "​Path":"​Export/DFD/",​ 
 +    "​ExportHint":​ "​MultiFileExport"​ 
 +  }, 
 +  { 
 +    "​Format":"​DFD",​ 
 +    "​Path":"​Export/prüfplan.dfd", 
 +    "ExportHint": "CombinedExport"
   }   }
-],+]
 </​code>​ </​code>​
  
-The following applies for the JSONV1 quality test plan format:+The following applies for the **JSONV2** quality test plan format: 
 + 
 +|< 100% 33% 12% 54% >| 
 +^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ 
 +^ Format | String | **JSONV2** | 
 +^ LanguageCode | String | **de** German\\ **en** English | 
 +^ Export​On​Save​Only | String | When closing the programme, or closing the project, …\\ **true** … do //not// trigger this export if no changes have been made to the project.\\ **false** … trigger this export if no changes have been made to the project. (Default behaviour, applied if the parameter is not specified).\\ \\ **Note** Available from programme version 2.7.5 | 
 +^ Path | String | Path to the location with the file name; the directory names must be separated by slash characters ("/"​) or double backslash characters ("​\\"​). | 
 + 
 +The following applies for the **JSONV1** quality test plan format:
  
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
Line 287: Line 380:
 ^ Format | String | **JSONV1** | ^ Format | String | **JSONV1** |
 ^ LanguageCode | String | **de** German\\ **en** English | ^ LanguageCode | String | **de** German\\ **en** English |
-^ Path | String | Full path to the location with the file name |+^ Export​On​Save​Only | String | When closing the programme, or closing the project, …\\ **true** … do //not// trigger this export if no changes have been made to the project.\\ **false** … trigger this export if no changes have been made to the project. (Default behaviour, applied if the parameter is not specified).\\ \\ **Note** Available from programme version 2.7.5 | 
 +^ 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. ​|
  
-The following applies for the CSV quality test plan format:+The following applies for the **CSV** quality test plan format:
  
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
 ^ Format | String | **CSV** | ^ Format | String | **CSV** |
-^ Path | String | Full path to the location with the file name |+^ Export​On​Save​Only | String | When closing the programme, or closing the project, …\\ **true** … do //not// trigger this export if no changes have been made to the project.\\ **false** … trigger this export if no changes have been made to the project. (Default behaviour, applied if the parameter is not specified).\\ \\ **Note** Available from programme version 2.7.5 | 
 +^ 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. | 
 +^ ExportHint | String | **AskForHeader** Before export, show the export dialog to allow data entry for the header and export the header.\\ \\ **Note** This parameter is available from program version 2.2.8. ​|
  
-The following applies for the DFD quality test plan format:+The following applies for the **DFD** quality test plan format:
  
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
 ^ Format | String | **DFD** | ^ Format | String | **DFD** |
-^ Path | String | Full path to the location without a file name |+^ Export​On​Save​Only | String | When closing the programme, or closing the project, …\\ **true** … do //not// trigger this export if no changes have been made to the project.\\ **false** … trigger this export if no changes have been made to the project. (Default behaviour, applied if the parameter is not specified).\\ \\ **Note** Available from programme version 2.7.5 | 
 +^ 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. | 
 +^ 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 | 
 + 
 +This applies to drawing exports in **PDF** format: 
 + 
 +|< 100% 33% 12% 54% >| 
 +^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ 
 +^ Format | String | **PDF** | 
 +^ Export​On​Save​Only | String | When closing the programme, or closing the project, …\\ **true** … do //not// trigger this export if no changes have been made to the project.\\ **false** … trigger this export if no changes have been made to the project. (Default behaviour, applied if the parameter is not specified).\\ \\ **Note** Available from programme version 2.7.5 | 
 +^ 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 ("​\\"​). | 
 +^ ColorOption | String | Controls the color representation of the drawing and the stamps:\\ **NoPolicy** Stamps as shown in the program, drawing as native\\ **Mono** Stamps and drawing sheet in black and white\\ **Grayscale** Stamps and drawing in grayscale\\ **MonoColorStamp** Stamp as shown in the program, drawing monochrome | 
 +^ 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\\ **All** Export all test plan versions contained in the project; the files are written to a subdirectory for each test plan version; the directory is named with the GUID of the test plan\\ \\ **Note** The "​newest"​ inspection plan version is the inspection plan version with the highest lexical version number. ​|
  
-This applies to drawing exports in PDF und SVG format:+This applies to drawing exports in **SVG** format:
  
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  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 | **SVG** 
-^ Path | String | Full path to the location without ​file name |+^ Export​On​Save​Only | String | When closing the programme, or closing the project, …\\ **true** … do //not// trigger this export if no changes have been made to the project.\\ **false** … trigger this export if no changes have been made to the project. (Default behaviour, applied if the parameter is not specified).\\ \\ **Note** Available from programme version 2.7.5 
 +^ 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\\ **All** Export all test plan versions contained in the project; the files are written to a subdirectory for each test plan version; the directory is named with the GUID of the test plan\\ \\ **Note** The "​newest"​ inspection plan version is the inspection plan version with the highest lexical version number. ​|
  
-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:
  
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-^ 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\\ **Tif** All drawing sheets and/or all stamped characteristics in extracts as TIF 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\\ **Gif** All drawing sheets and/or all stamped characteristics in extracts as GIF files\\ \\ **Note** The use of PNG and TIF file formats is recommended,​ especially the JPG format is not suitable for technical drawings ​
-^ 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** Export only drawing sheets\\ **DrawingWithoutStamps** Export only drawing sheets without stamps\\ **Stamps** Export only stamp graphics\\ \\ If **Mode** is not specified, drawing and stamp graphics are exported together ​
-^ Path | String | Full path to the location without a file name |+^ Image​Options | Field | Controls the rendering of the drawing graphics\\ \\ If **ImageOptions** is not specified, the current export settings (**Settings** > **Export** > **[[en:​infra-convert:​user:​config:​export#​drawing_graphic_format_group|Drawing graphic]]**) are used | 
 +^ └ Width | Integer | Width of the image in number of pixels | 
 +^ └ Height | Integer | Height of the image in number of pixels | 
 +^ └ Bit | Integer | Colour depth:\\ **8** 8 Bit\\ **24** 24 Bit (not at GIF) | 
 +^ └ Super​sampling​Algorithm | String | Supersampling method (→[[en:​infra-convert:​user:​terms#​antialiasing|Antialiasing]]):​\\ **None** Do not apply supersampling\\ **Box** Average\\ **Bilinear** Linear\\ **Bicubic** Cubic\\ **Bspline** B-Spline\\ **Catmullrom** Catmull-Rom\\ **Lanczos3** Lanczos 3\\ \\ **Note** Available from program version 2.2.4 | 
 +^ └ Supersampling​Factor | Integer | Quality level for supersampling (→[[en:​infra-convert:​user:​terms#​antialiasing|Antialiasing]]):​\\ **1** Do not apply supersampling\\ **2** to **5** Levels 2 to 5\\ \\ **Note** Available from program version 2.2.4 |​ 
 +^ Stamp​Image​Options | Field | Controls the rendering of the stamp graphic\\ \\ If **StampImageOptions** is not specified, the current export settings (**Settings** > **Export** > **[[en:​infra-convert:​user:​config:​export#​stamp_graphic_format_group|Stamp graphic]]**) are used | 
 +^ └ Width | Integer | Width of the image in number of pixels | 
 +^ └ Height | Integer | Height of the image in number of pixels | 
 +^ └ Super​sampling​Algorithm | String | Supersampling method (→[[en:​infra-convert:​user:​terms#​antialiasing|Antialiasing]]):​\\ **None** Do not apply supersampling\\ **Box** Average\\ **Bilinear** Linear\\ **Bicubic** Cubic\\ **Bspline** B-Spline\\ **Catmullrom** Catmull-Rom\\ **Lanczos3** Lanczos 3\\ \\ **Note** Available from program version 2.2.4 | 
 +^ └ Supersampling​Factor | Integer | Quality level for supersampling (→[[en:​infra-convert:​user:​terms#​antialiasing|Antialiasing]]):​\\ **1** Do not apply supersampling\\ **2** to **5** Levels 2 to 5\\ \\ **Note** Available from program version 2.2.4 |​ 
 +^ Export​On​Save​Only | String | When closing the programme, or closing the project, …\\ **true** … do //not// trigger this export if no changes have been made to the project.\\ **false** … trigger this export if no changes have been made to the project. (Default behaviour, applied if the parameter is not specified).\\ \\ **Note** Available from programme version 2.7.5 
 +^ 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\\ **All** Export all test plan versions contained in the project; the files are written to a subdirectory for each test plan version; the directory is named with the GUID of the test plan\\ \\ **Note** The "​newest"​ inspection plan version is the inspection plan version with the highest lexical version number. ​|
  
 </​WRAP>​ </​WRAP>​
Line 333: Line 459:
  
  
-  * **Drawing comparison**\\ (Available from program version 1.2)\\ //Compare Documents//​\\ Calls up the drawing comparison, see User's manual > User interface > Function window > [[en:​infra-convert:​user:​interface:​drwcomp|Drawing comparison]] and User’s Manual > Functions > [[en:​infra-convert:​user:​functions:​drwcompsimple|Zeichnungen vergleichen (Basic version)]] respectively [[en:​infra-convert:​user:​functions:​drwcomp|Drawing comparison (Pro version)]].+  * **Drawing comparison**\\ //Compare Documents//​\\ Calls up the drawing comparison, see User's manual > User interface > Function window > [[en:​infra-convert:​user:​interface:​drwcomp|Drawing comparison]] and User’s Manual > Functions > [[en:​infra-convert:​user:​functions:​drwcompsimple|Zeichnungen vergleichen (Basic version)]] respectively [[en:​infra-convert:​user:​functions:​drwcomp|Drawing comparison (Pro version)]].
  
 </​WRAP>​ </​WRAP>​
Line 344: Line 470:
   "​Name":​ "​AddCharacteristicTag",​   "​Name":​ "​AddCharacteristicTag",​
   "​ItemId":​ "​{5D1110CA-6093-4381-B372-CF983D515044}"​   "​ItemId":​ "​{5D1110CA-6093-4381-B372-CF983D515044}"​
-},+}
 </​code>​ </​code>​
  
Line 387: Line 513:
 \\  \\ 
  
-<WRAP group> 
-<WRAP column 66.5%> 
 ===== Zoom on stamp ===== ===== Zoom on stamp =====
- 
-</​WRAP>​ 
-<WRAP column 25%> 
-> **Available from**\\ program version 1.2.0.21 
-</​WRAP>​ 
-<WRAP column 15%> 
-</​WRAP>​ 
- 
-</​WRAP>​ 
- 
  
 <WRAP group> <WRAP group>
Line 412: Line 526:
  
 > **Note** > **Note**
-> #@IC_HTML@# can also be used as a viewer with the zoom functionality. Disable user interface controls (see "​Configuration and Import > [[de:​infra-convert:​dev:​uiaccess|Parameter file "​UiAccess"​]]"​) to prevent data corruption. To view ICP files, temporarily create an ICPX project and load the ICP file into a test plan version.+> #@IC_HTML@# can also be used as a viewer with the zoom functionality. Disable user interface controls (see "​Configuration and Import > [[en:​infra-convert:​dev:​uiaccess|Parameter file "​UiAccess"​]]"​) to prevent data corruption. To view ICP files, temporarily create an ICPX project and load the ICP file into a test plan version.
  
 </​WRAP>​ </​WRAP>​
Line 460: Line 574:
  
 The path to the parameter file //​Settings.json//​ is specified in the **Settings** field. #@IC_HTML@# obtains the global settings from this file. The path to the parameter file //​Settings.json//​ is specified in the **Settings** field. #@IC_HTML@# obtains the global settings from this file.
- 
-> **Please note** Changes made by the user in the user interface are not written to the "​settings.json"​ loaded here, but to the "​settings.json"​ in the CommonAppData directory whose path is defined in the "​settings.json"​ with the parameter "​CommonAppDataPath"​. 
  
 > **See also** > **See also**
Line 476: Line 588:
 "​Settings":​ { "​Settings":​ {
   "​Path":​ "​C:/​ProgramData/​ELIAS GmbH/​infra-CONVERT/​Settings.json",​   "​Path":​ "​C:/​ProgramData/​ELIAS GmbH/​infra-CONVERT/​Settings.json",​
-},+  "​Force":​ true 
 +}
 </​code>​ </​code>​
  
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-^ Path | String | Full 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 ("​\\"​). | 
 +^ Force | String | Reading order of the parameters passed by start parameter and a user-defined "​settings.json":​\\ **true** Force the "​settings.json"​ passed by start parameter to be read from AppData after the "​settings.json",​ thus overwriting user-defined settings\\ **false** Default behaviour (also applies if parameter "​Force"​ is not specified)\\ \\ **Note** Available from program version 2.0.0.0 ​|
  
 </​WRAP>​ </​WRAP>​
Line 508: Line 622:
 "​CharacteristicTagsDefinition":​ { "​CharacteristicTagsDefinition":​ {
   "​Path":​ "​C:/​Users/​user1/​AppData/​CharacteristicTags.json",​   "​Path":​ "​C:/​Users/​user1/​AppData/​CharacteristicTags.json",​
-},+}
 </​code>​ </​code>​
  
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-^ Path | String | Full 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 538: Line 652:
 "​CharacteristicClassesDefinition":​ { "​CharacteristicClassesDefinition":​ {
   "​Path":​ "​C:/​Users/​user1/​AppData/​CharacteristicClasses.json"​   "​Path":​ "​C:/​Users/​user1/​AppData/​CharacteristicClasses.json"​
-},+}
 </​code>​ </​code>​
  
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-^ Path | String | Full 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 568: Line 682:
 "​SpecialCategoriesDefinition":​ { "​SpecialCategoriesDefinition":​ {
   "​Path":​ "​C:/​Users/​user1/​AppData/​SpecialCategories.json"​   "​Path":​ "​C:/​Users/​user1/​AppData/​SpecialCategories.json"​
-},+}
 </​code>​ </​code>​
  
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Typ  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Typ  ^  Value/​Content ​ ^
-^ Path | String | Full 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 597: Line 711:
 "​StampTemplatesDefinition":​ { "​StampTemplatesDefinition":​ {
   "​Path":​ "​C:/​Users/​user1/​AppData/​StampTemplates.json"​   "​Path":​ "​C:/​Users/​user1/​AppData/​StampTemplates.json"​
-},+}
 </​code>​ </​code>​
  
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Typ  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Typ  ^  Value/​Content ​ ^
-^ Path | String | Full 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 627: Line 741:
 "​UiAccessDefinition":​ { "​UiAccessDefinition":​ {
   "​Path":​ "​C:/​Users/​user1/​AppData/​UiAccess.json",​   "​Path":​ "​C:/​Users/​user1/​AppData/​UiAccess.json",​
-},+}
 </​code>​ </​code>​
  
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Typ  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Typ  ^  Value/​Content ​ ^
-^ Path | String | Full 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 674: Line 788:
 |< 100% 33% 12% 54% >| |< 100% 33% 12% 54% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-^ CharacteristicId | String | GUID of the characteristic |+^ CharacteristicId | String | GUID of the characteristic\\ \\ **Note** The GUID of the characteristic from which the characteristic searched for in the drawing comparison emerged ("​DirectCompareSourceId"​) or originally emerged ("​CompareSourceId"​) can also be transferred. ​|
 ^ Action | String | **Update** Action:​ update | ^ Action | String | **Update** Action:​ update |
 ^ CharacteristicTags | String | GUID of the tag | ^ CharacteristicTags | String | GUID of the tag |
Line 756: Line 870:
 |< 100% 34% 12% 53% >| |< 100% 34% 12% 53% >|
 ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^ ^  Parameter ​ ^  Type  ^  Value/​Content ​ ^
-^ Action | String | **AddOrUpdate** Add or change a tag, depending on whether or not the tag exists |+^ Action | String | **AddOrUpdate** Add or change a tag, depending on whether or not the tag exists\\ **Add** Add a tag that does not exist ("​AddOrUpdate"​ should be used preferentially)\\ **Remove** Delete a tag\\ **ResetDefault** Set a tag added or addressed with this as the new default. Existing tags are deleted. All characteristics are assigned this tag |
 ^ CharacteristicTag | Feld | Contains all the properties of the tag | ^ CharacteristicTag | Feld | Contains all the properties of the tag |
 ^ └ Id | String | GUID of the tag | ^ └ Id | String | GUID of the tag |
Line 771: Line 885:
 ^  └ LanguageCode | String | **de** German\\ **en** English | ^  └ LanguageCode | String | **de** German\\ **en** English |
  
 +</​WRAP>​
 +</​WRAP>​
 +
 +\\ 
 +
 +===== Examples for start parameter files =====
 +
 +A compilation of different start parameter scenarios can be downloaded here: {{:​en:​infra-convert:​dev:​infra_CONVERT_Parametertest.zip|infra_CONVERT_Parametertest.zip}},​ size: 2 MB. The examples are designed in such a way that you can execute each scenario directly with the included BAT file.
 +
 +<WRAP group>
 +<WRAP column 33%>
 +**Start with specific parameter files**\\  {{:​en:​infra-convert:​dev:​ordner_leer.png?​nolink&​18}} 10 - Start with specific parameter files
 +</​WRAP>​
 +<WRAP column 61%>
 +The user starts after starting #@IC_HTML@# on the start page. A selection of settings ("​settings.json"​) are set at start-up. If the user creates a project, the transferred templates (stamp templates, categories, tags and classes) are used.
 +</​WRAP>​
 +</​WRAP>​
 +
 +<WRAP group>
 +<WRAP column 33%>
 +**Create project and export when closing**\\  {{:​en:​infra-convert:​dev:​ordner_leer.png?​nolink&​18}} 20 - Create project and export
 +</​WRAP>​
 +<WRAP column 61%>
 +After the start a new project "​Project-001"​ with two drawing files in a test plan version "Test plan A" is automatically created. If the user saves the project, a test plan "Test plan-001"​ in JSON format and drawing and stamp views are exported in JPG format in a subdirectory "​Export"​.
 +</​WRAP>​
 +</​WRAP>​
 +
 +<WRAP group>
 +<WRAP column 33%>
 +**Create new test plan version and start drawing comparison**\\  {{:​en:​infra-convert:​dev:​ordner_leer.png?​nolink&​18}} 30 - Compare drawings
 +</​WRAP>​
 +<WRAP column 61%>
 +An already existing project "​Project-001"​ is loaded. The project contains two stamped drawing sheets in a test plan version "Test plan A". At startup, a new test plan version "Test plan B" is created with a new version of each of the two drawing sheets. The user starts the drawing comparison with sheet 1.
 +</​WRAP>​
 +</​WRAP>​
 +
 +<WRAP group>
 +<WRAP column 33%>
 +**Zoom to stamp via GUID**\\  {{:​en:​infra-convert:​dev:​ordner_leer.png?​nolink&​18}} 40 - Zoom to stamp via GUID
 +</​WRAP>​
 +<WRAP column 61%>
 +A stamp in an existing project is zoomed in by specifying the GUID of the stamp. In the example, the GUID was read from the previously exported test plan "Test plan-001.json"​.
 +</​WRAP>​
 +</​WRAP>​
 +
 +<WRAP group>
 +<WRAP column 33%>
 +**Zoom to stamp via ICP-ID**\\  {{:​en:​infra-convert:​dev:​ordner_leer.png?​nolink&​18}} 41 - Zoom to stamp via ICP-ID
 +</​WRAP>​
 +<WRAP column 61%>
 +A (temporary) project is created and an ICP file (project file from #​@IC_OLD_HTML@#​) is loaded. Only the ID ("​ICP-ID"​) of the characteristic or the stamp in the ICP file is known.
 +</​WRAP>​
 +</​WRAP>​
 +
 +<WRAP group>
 +<WRAP column 33%>
 +**Zoom to stamp via CompareSourceId**\\  {{:​en:​infra-convert:​dev:​ordner_leer.png?​nolink&​18}} 42 - Zoom to stamp via CompareSourceId
 +</​WRAP>​
 +<WRAP column 61%>
 +A stamp in the more recent of two test plan versions is zoomed in. Only the GUID of the stamp in the original version of the test plan versions is known. This GUID is transferred to the transferred or merged characteristic during the drawing comparison using the CompareSourceId.
 </​WRAP>​ </​WRAP>​
 </​WRAP>​ </​WRAP>​
en/infra-convert/dev/parameter.1559649762.txt.gz · Last modified: 2019/06/04 14:02 by me