Eplan Platform API
Eplan.EplApi.HEServices Namespace / ProjectManagement Class / SynchronizeProjects Method / SynchronizeProjects(Project,Project,SynchronizationMode,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean) Method
Source project from which it gets data.
Target project to synchronize.
Determines what mode of synchronization will be used. Update - Replaces all outdated and different project data in the target project by the data of the source project. Complete - Supplements the project data of the target project with data which so far was only available in the source project.
If true properties of the projects are synchronized.
If true segment definition and segment templates data is synchronized.
If true property arrangement data is synchronized.
If true layers of the projects are synchronized.
If true structure identifier data is synchronized.
If true settings of the projects are synchronized.

In This Topic
    SynchronizeProjects(Project,Project,SynchronizationMode,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean) Method
    In This Topic
    Synchronizes projects data from source project into the target project.
    Syntax

    Parameters

    Parameter NameDescription
    oSourceProjectSource project from which it gets data.
    oTargetProjectTarget project to synchronize.
    eSynchronizationModeDetermines what mode of synchronization will be used. Update - Replaces all outdated and different project data in the target project by the data of the source project. Complete - Supplements the project data of the target project with data which so far was only available in the source project.
    bUpdatePropertiesIf true properties of the projects are synchronized.
    bUpdateSegmentDefinitionIf true segment definition and segment templates data is synchronized.
    bUpdatePropertyArrangementIf true property arrangement data is synchronized.
    bUpdateLayerIf true layers of the projects are synchronized.
    bUpdateStructureIdentifierIf true structure identifier data is synchronized.
    bUpdateSettingsIf true settings of the projects are synchronized.

    Return Value

    True if the synchronization was successful.
    Exceptions
    ExceptionDescription
    Thrown if source or target project is NULL.
    Thrown if the internal action could no be found.
    Thrown if an error occurs while executing the method.
    See Also