Eplan Platform API
Eplan.EplApi.HEServices Namespace / ProjectManagement Class / DoProjectInspection Method / DoProjectInspection(Project,Project,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean) Method
First project to be compared.
Second project to be compared.
If true, comparison of project settings is done. Last used settings comparison scheme will be used.
If true, comparison of project properties is done. Last used properties comparison scheme will be used.
If true, projects verification is also done. Last used verification scheme will be used.
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,Boolean,Boolean,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. Last used settings comparison scheme will be used.
    bComparePropertiesIf true, comparison of project properties is done. Last used properties comparison scheme will be used.
    bDoVerificationIf true, projects verification is also done. Last used verification scheme will be used.
    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
    In case bDoVerification is true, the project will be checked. Messages created by old project verifications are deleted.
    See Also