PartToSystem(Project,ArrayList,StoreMode) Method
In This Topic
Synchronizes the specified parts into 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" for selected parts.
Syntax
Parameters
- oProject
- Project for which the parts will be synchronized.
- lParts
- List of parts (objects of type Eplan.EplApi.DataModel.Article or Eplan.EplApi.DataModel.ArticleReference) that will be synchronized.
- storemode
- Store mode. 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