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

PartsFromSystemToProject(String,StoreMode) Method
Synchronizes the parts stored in the project with the parts in the parts master database. Updates parts inside project. Parts in the database are not changed. This method corresponds with the EPLAN functionality in the menu "Utilities \> Parts \> Parts database --\> current project".
Syntax
public void PartsFromSystemToProject( 
   string strFullLinkFileName,
   Synchronize.StoreMode storeMode
)

Parameters

strFullLinkFileName
Full link file name of the project for which the parts 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