User Tools

Site Tools


en:infra-convert:dev:stamptemplates

This is an old revision of the document!


Administrator’s Guide infra CONVERT > Configuration and Import

Parameter file "StampTemplates"


The templates for →stamps that are assigned to the characteristic categories are defined in the parameter file StampTemplates.json (see Configuration and Import > Parameter file "SpecialCategories"). More specifically: these definitions are loaded when a new →project is created and saved in the project file. This means that it is only in the project itself possible to later change the stamp templates for a project.

During installation, the parameter file StampTemplates is saved at the following location:

%ProgramData%\ELIAS GmbH\infra-convert\JsonData\StampTemplates.json

If another parameter file is to be loaded when starting the program, this can be specified in the startup parameter file (see Configuration and Import > Startup parameter file > Parameter file for stamp templates).

Tip For more comfortable working, you can use a text editor with extended functions, e.g. syntax and error highlighting, instead of the on-board Windows “editor”. Examples are the free programs Visual Studio Code from Microsoft and Notepad++.




Content

 • ID
 • Radius
 • Shape
 • Orientation
 • Minimum distance for connection line
 • Distance
 • Opacity
 • Fill stamp
 • Prefix
 • Suffix
 • Display text
 • Color
 • Installation/Deinstallation


ID

Unique, internal identifier for the stamp template.

To create a new template, you can simply use any GUID generator.

"Id": "{bf69c190-4bcc-4c2c-9ed1-c67328f4f90e}",
Parameter Type Value/Content
ID String GUID of the stamp template


Radius

Size of the stamp in an absolute, CAD-internal unit.

See also
User’s Guide infra CONVERT > Settings > Project settings > Stamp templates
"Radius": 2.0,
Parameter Type Value/Content
Radius Double Value for the radius


Shape

Geometry of the stamp symbol.

See also
User’s Guide infra CONVERT > Settings > Project settings > Stamp templates
"Form": 0,
Parameter Type Value/Content
Shape Integer One of these predefined symbols:
0 VDA symbol
1 Circle
2 Triangle
3 Square
4 Diamond
5 Hexagon
6 Triangle in circle


Orientation

Orientation of the stamp relative to the drawing specification if it is generated automatically.

"DefaultPosition": 0,
Parameter Type Value/Content
DefaultPosition Integer Position:
0 Standard (upper right)
1 Upper right
2 Right
3 Lower right
4 Bottom
5 Lower left
6 Left
7 Upper left
8 Top


Minimum distance for connection line

Minimum distance of a stamp to a drawing specification, from which a connecting line is marked (in an absolute, CAD-internal unit).

See also
User’s Guide infra CONVERT > Settings > Project settings > Stamp templates
"MinDistanceForConnectionLine": 2.0,
Parameter Type Value/Content
MinDistanceForConnectionLine Double Value for the minimum distance


Distance

Distance of a stamp to a drawing specification, if it is generated automatically (in an absolute, CAD-internal unit).

"DistanceToText": 2.0,
Parameter Type Value/Content
DistanceToText Double Value for the distance


Opacity

Opacity of the entire stamp.

See also
User’s Guide infra CONVERT > Settings > Project settings > Stamp templates
"Alpha": 255,
Parameter Type Value/Content
Alpha Integer Value for the opacity (255: opaque to 0: completely transparent).


Fill stamp

Filling of the stamp interior with the color white.

See also
User’s Guide infra CONVERT > Settings > Project settings > Stamp templates
"FillStamp": true,
Parameter Type Value/Content
FillStamp Boolean true Filled
false Not filled


Prefix

Characters written in the stamp label in front of the stamp number

"Prefix": "",
Parameter Type Value/Content
Prefix String Preceding string.


Suffix

Characters written in the stamp label after the stamp number.

"Suffix": "",
Parameter Type Value/Content
Suffix String Following string.


Display text

Texts can be specified in this object, which are displayed in infra CONVERT depending on the user language set.

"LocalizedProperties": [
  {
    "Name": "VDA stamp in blue",
    "Description": "VDA stamp in blue",
    "LanguageCode": "en"
  }
],
Parameter Type Value/Content
Name String Display name for the stamp template
Description String Description text
LanguageCode String Language abbreviation as per ISO 639-1


Color

The color of the stamp symbol is specified in the object Color.

"Color": {
  "Type": "RGB",
  "R": 0,
  "G": 0,
  "B": 255
}
Parameter Type Value/Content
Type String Color system
R Integer Value for the red color channel (0 … 255)
G Integer Value for the green color channel (0 … 255)
B Integer Value for the blue color channel (0 … 255)


Installation/Deinstallation

The following describes the process for deinstalling, reinstalling (installing after previous deinstallation) and installing (without previous deinstallation) infra CONVERT using the parameter file “StampTemplates.json”. Essential preconditions are: the file is at the location where it was installed, and has not been renamed.

Deinstallation

The file is deleted.

Reinstallation

An existing file is overwritten.

Installation

An existing file is overwritten.


Go to previous page
Configuration and Import > Parameter file "SpecialCategories"

Go to next page
Configuration and Import > Parameter file "Uiaccess"

en/infra-convert/dev/stamptemplates.1575362544.txt.gz · Last modified: 2019/12/03 09:42 by me