Eplan Platform API
Eplan.EplApi.HEServices Namespace / Synchronize Class / PartsDatabaseItemToProject Method / PartsDatabaseItemToProject(String,StoreMode) Method
Full link file name of the project for which the database items will be updated.
Store mode. The enumeration Synchronize.StoreMode defines the supported values.

In This Topic
    PartsDatabaseItemToProject(String,StoreMode) Method
    In This Topic
    Synchronizes the database items (like parts, manufactures addresses, etc.) stored in the project with the items in the parts master database. This function updates items inside project; items in the database are not changed. This method corresponds with the EPLAN functionality in the ribbon "Master data \> Parts \> Synchronize".
    Syntax
    public void PartsDatabaseItemToProject( 
       string strFullLinkFileName,
       Synchronize.StoreMode storeMode
    )
    public:
    void PartsDatabaseItemToProject( 
       String^ strFullLinkFileName,
       Synchronize.StoreMode storeMode
    ) 

    Parameters

    strFullLinkFileName
    Full link file name of the project for which the database items will be updated.
    storeMode
    Store mode. The enumeration Synchronize.StoreMode defines the supported values.
    Exceptions
    ExceptionDescription
    Thrown if null was passed as an argument.
    Thrown in case of invalid arguments, e.g. the project is not valid.
    The synchronization finished with errors.
    Remarks
    The specified project may be open in EPLAN or not. If the project is not opened from the beginning, it will be opened for the synchronization process and will be closed subsequently.
    See Also