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

In This Topic
    AddToSystemEx(String,StringCollection) Method
    In This Topic
    Copies stored project master data into the system master data pool.
    Syntax

    Parameters

    strFullLinkFileName
    Full link file name of the project from which the data will be copied.
    masterDataFiles
    List of project master data files 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
    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.
    Remarks
    Given link to project is used by ProjectManager::OpenProject(System: function. Exception provided by OpenProject() function may be also thrown.
    See Also