public Hashtable AddToProjectEx( Project oProject, StringCollection masterDataFiles )
public: Hashtable^ AddToProjectEx( Project^ oProject, StringCollection^ masterDataFiles )
Parameters
| Parameter Name | Description |
|---|---|
| oProject | Project to which the master data will be copied. |
| masterDataFiles | List of master data file names to be added to the project. Files have to be placed in special paths of Eplan P8 and no paths can be used, only file names. These paths are depended on file types that are recognized only by file name extension. For example form files, with file name extention ".f25", have to be placed in directory pointed to by Eplan.EplApi.DataModel.PathInfo.Forms (also Eplan.EplApi.Base.PathMap can be used with $(MD_FORMS)). |
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.