API Help
Eplan.EplApi.HEServices Namespace / Synchronize Class / PartToProject Method
Project for which the parts will be updated.
List of parts which will be updated.

PartToProject Method
Synchronizes the specified parts inside 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" for selected parts.
Syntax
public void PartToProject( 
   Project oProject,
   ArrayList lParts
)

Parameters

oProject
Project for which the parts will be updated.
lParts
List of parts which will be updated.
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.
See Also