public Hashtable AddToProjectEx( Project oProject, StringCollection masterDataFiles )
public: Hashtable^ AddToProjectEx( Project^ oProject, StringCollection^ masterDataFiles )
Parameters
- oProject
- Project into which the master data will be copied.
- masterDataFiles
- List of master data files 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 files types which are recognized only by file name extension. For example forms files, with \file name extention '.f25', have to be placed in directory pointed 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.