API Help
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

    oSourceProject
    Source project from which it gets data.
    oTargetProject
    Target project to synchronize.
    eSynchronizationMode
    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.
    bUpdateProperties
    If true properties of the projects are synchronized.
    bUpdateSegmentDefinition
    If true segment definition and segment templates data is synchronized.
    bUpdatePropertyArrangement
    If true property arrangement data is synchronized.
    bUpdateLayer
    If true layers of the projects are synchronized.
    bUpdateStructureIdentifier
    If true structure identifier data is synchronized.
    bUpdateSettings
    If 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 not be found.
    Thrown if an error occurs while executing the method.
    See Also