The ddi file preparation is performed using the ddi.exe utility. For more details on how to work with it, see The ddi.exe utility for editing database templates and external settings files.
To create the ddi file for the objects of the CUSTOM and CUSTOM_CHILD types, use the following order:


Go to the Reactions tab and configure reactions that must be supported by the object (see the figure).
Reactions of custom objects are automatically converted into events. In other words, the custom object automatically generates the corresponding event if the reaction occurs. |

Go to the States tab and describe the states that the object can take. Here there are two states—ON and OFF.
| In the Image column, you can specify the postfix of the file name located in the <Axxon PSIM installation directory>\Bmp folder. For example, the custom_off.bmp and custom_on.bmp files corresponding to the ON and OFF states are for the CUSTOM object. These files are used by the Map module. |

The ddi file preparation is complete.