Eplan Platform API
Eplan.EplApi.HEServices Namespace / ProjectManagement Class / DoProjectInspection Method / DoProjectInspection(Project,Project,Boolean,String,Boolean,String,Boolean,String,Boolean,Boolean,Boolean,Boolean) Method
First project to be compared.
Second project to be compared.
If true, comparison of project settings is done.
Name of settings comparison scheme. If NULL or empty string is passed then last used scheme will be used. This parameter is used only if bCompareSettings is true. If the scheme is not supported, information is passed as a system message.
If true, comparison of project properties is done.
Name of properties comparison scheme. If NULL or empty string is passed then last used scheme will be used. This parameter is used only if bCompareProperties is true. If the scheme is not supported, information is passed as a system message.
If true, projects verification is also done.
Name of verification scheme. If NULL or empty string is passed then last used scheme will be used. This parameter is used only if bDoVerification is true. If the scheme is not supported, information is passed as a system message.
If true, comparison of project structure is done.
If true, comparison of layersSecond is done.
If true, new layers are reported. Used only if parameter bCompareLayers is true.
If true, the comparisons/verifications will stop on first difference/error.

In This Topic
    DoProjectInspection(Project,Project,Boolean,String,Boolean,String,Boolean,String,Boolean,Boolean,Boolean,Boolean) Method
    In This Topic
    Compares two projects and writes the results as project messages into the message management. This method corresponds to the following functionality of Eplan Electric P8: Project / Management, Extras / Verify Project
    Syntax

    Parameters

    Parameter NameDescription
    oProjectFirst project to be compared.
    oRefProjectSecond project to be compared.
    bCompareSettingsIf true, comparison of project settings is done.
    sSettingsSchemeName of settings comparison scheme. If NULL or empty string is passed then last used scheme will be used. This parameter is used only if bCompareSettings is true. If the scheme is not supported, information is passed as a system message.
    bComparePropertiesIf true, comparison of project properties is done.
    sPropertiesSchemeName of properties comparison scheme. If NULL or empty string is passed then last used scheme will be used. This parameter is used only if bCompareProperties is true. If the scheme is not supported, information is passed as a system message.
    bDoVerificationIf true, projects verification is also done.
    sVerificationSchemeName of verification scheme. If NULL or empty string is passed then last used scheme will be used. This parameter is used only if bDoVerification is true. If the scheme is not supported, information is passed as a system message.
    bComparePrjStructureIf true, comparison of project structure is done.
    bCompareLayersIf true, comparison of layersSecond is done.
    bReportNewLayersIf true, new layers are reported. Used only if parameter bCompareLayers is true.
    bStopOnFirstDifferenceIf true, the comparisons/verifications will stop on first difference/error.

    Return Value

    true if the inspection was succesful
    Exceptions
    ExceptionDescription
    Thrown if oProject or oRefProject is NULL value.
    Remarks
    Messages created by old project verifications are deleted.
    See Also