Eplan Platform API
Eplan.EplApi.EServices Namespace / IMessage Interface / OnRegister Method
The new project message will be added to this IMessage.Region. Add\-ins should be use region ePRJMSG_REGION_EXTERNALS.
serial number inside the chosen region
Default IMessage.Classification of the new message. The IMessage.Classification could be changed in the project setting dialog at run time.
The new message could overwrite an existing message which has the same IMessage.Region and the same iMessageId, if the ordinal number of the new message is higher. (default\: 20)

In This Topic
    OnRegister Method (IMessage)
    In This Topic
    Called by EPLAN when the new project message is added to the system. If a new project message was added to a registered add-in, the add-in must be registered over again.
    Syntax

    Parameters

    strCreator
    eRegion
    The new project message will be added to this IMessage.Region. Add\-ins should be use region ePRJMSG_REGION_EXTERNALS.
    iMessageId
    serial number inside the chosen region
    eClassification
    Default IMessage.Classification of the new message. The IMessage.Classification could be changed in the project setting dialog at run time.
    iOrdinal
    The new message could overwrite an existing message which has the same IMessage.Region and the same iMessageId, if the ordinal number of the new message is higher. (default\: 20)
    Remarks
    By overriding an existing message, it is only possible to change the messge text, but not the classification etc.
    See Also