User Tools

Site Tools


en:infra-convert:dev:stamptemplates
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.json” 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).


Administrator tools

Export project settings

You can export the current project settings as project template files (“CharacteristicTags.json”, “SpecialCategories.json” and “StampTemplates.json”) from the infra CONVERT user interface. (Available from programme version 2.4.1.)
Siehe User Manual > Settings > Project Settings > Tags > Save/Export


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


Position/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

Note From program version 2.4.1 the standard position changes from top right to right.


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


Thickness of the connection line

Thickness or width with which the connection line is drawn (in an absolute, CAD internal unit)

Note Available from programme version 2.4.1.
See also
User Manual > Settings > Project settings > Stamp templates
"MinDistanceForConnectionLine": 2.0,
Parameter Type Value/Content
ConnectionLineThickness Double Value for the line thickness.
0 Hairline


Distance to text

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.

Note From program version 2.4.1 onwards, the alpha channel should only be given in colour value, see Color. If it is specified with this parameter Alpha, the alpha value is replaced or added to the colour specification.
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:
RGB Red-Green-Blue
ARGB Alpha-Red-Green-Blue
A Integer Value for the alpha channel (0 … 255, wiht 0 = fully transparent)
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/Uninstallation

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.

See also Introduction > Overview (program version 2) > Installation/Uninstallation

Uninstallation

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"

</WRAP>

en/infra-convert/dev/stamptemplates.txt · Last modified: 2021/10/22 16:18 by me