Parts(Project,StoreMode) Method
In This Topic
Synchronizes the parts in the project to the parts master database. Updates parts database. Parts in the project are not changed. This method corresponds with the EPLAN functionality in the ribbon "Master data \> Parts \> Synchronize". Additionally the user can specify, whether parts, which are already existing in the parts database, should be modified.
Syntax
Parameters
- pProject
- Project for which the parts will be synchronized.
- storemode
- Store mode determines, whether parts, which are already existing in the parts database, should be modified. The enumeration Synchronize.StoreMode defines the supported values. If an invalid value is set, the value AppendNew = 0 will be used.
Exceptions
Exception | Description |
ArgumentNullException | Thrown if null was
passed as an
argument. |
ArgumentException | Thrown in case of
invalid arguments,
e.g. the project is
not valid. |
BaseException | The synchronization
finished with
errors. |
IOException | Thrown in case of
database write protection. |
See Also