Eplan Platform API
Eplan.EplApi.EServices Namespace / PartVerification Class / OnRegister Method / OnRegister(String,Region,Int32,Classification,Int32) Method
The new project message will be added to this IMessage.Region. Part verifications can be registered only in PartMasterData region.
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(String,Region,Int32,Classification,Int32) Method
    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. Part verifications can be registered only in PartMasterData region.
    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
    PartVerifications can be registered only in PartMasterData region. By overriding an existing message, it is only possible to change the message text, but not the classification etc.
    See Also