Parts(Project,StoreMode,Boolean) Method
In This Topic
Synchronizes the parts in the project to the parts master database. Updates parts database. 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. Default value is StoreMode::AppendNew.
- bUseNotReferencedArticles
- Specifies that not referenced articles are synchronized. Default value is
true
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