Eplan Platform API
Eplan.EplApi.HEServices Namespace / Masterdata Class / AddToSystemEx Method / AddToSystemEx(Project,StringCollection) Method
Project from which the data will be copied.
List of project master data file names to be copied. Files to add must exist in project library.

In This Topic
    AddToSystemEx(Project,StringCollection) Method
    In This Topic
    Extended method for copying stored project master data to the system master data pool.
    Syntax

    Parameters

    Parameter NameDescription
    oProjectProject from which the data will be copied.
    masterDataFilesList of project master data file names to be copied. Files to add must exist in project library.

    Return Value

    Hashtable object with collection of errors. Key is a filename (as String) which was passed to masterDataFiles and value is a exception object (based on System::Exception). If all elements was processed correctly returned hastable is empty.
    Exceptions
    ExceptionDescription
    Thrown if a parameter was set to a NULL reference.
    Parameters are invalid, e.g. one (or more) of given file name(s) doesn't exist in project library.
    Internal interface for master data could not be created.
    Master data could not be copied to the system master data pool.
    This exception might be returned for same item(s) when this item is correct but it cannot be processed because of other conditions. For example it is returned when masterdata database is locked for some items.
    This exception might be returned for some item(s) when user cancel operation. In this version canceling operation by API is not available.
    See Also