Service: Convert

Convert properties of Datapoint control commands in files

This service can be used to convert properties of Datapoint control commands, e.g., object type, command IDs, in existing binary files, e.g., texts, graphics, scripts. This can be helpful if an updated version of an extension uses different command IDs but wants to use the same Datapoint control commands already defined in the project files such as texts and graphics.

Functions

ResultName / ParamsComment
ConvertResultconvert.CommandsConverts Datapoint control commands, e.g. change of command IDs or properties in all files where Datapoint control commands are used, e.g. scripts, texts, graphics.
tasksConvertCommandTask[]A list of commands, i.e. task for each command that should be converted.

Objects

ConvertCommandTask

Detailed instructions how to convert IDs and properties of a Datapoint control command.

Property Type Description
ext string The code of the extension of the command.
objType string The type of the object that the command controls.
fromId string The original (source) ID of the command.
toId string The new (destination) ID of the command.
propMapping ConvertPropMapping[] List of properties of the command that should be converted.

ConvertPropMapping

A pair of old (source) and new (destination) property ID.

Property Type Description
fromId string The original (source) ID of the property.
toId string The new (destination) ID of the property.

ConvertResult

A result list of the changes after conversion.

Property Type Description
changes string[] Textual representation of the changes.
Last modified September 25, 2026