public Hashtable AddToProjectEx( string strFullLinkFileName, StringCollection masterDataFiles )
public: Hashtable^ AddToProjectEx( String^ strFullLinkFileName, StringCollection^ masterDataFiles )
Parameters
- strFullLinkFileName
- Full link file name of the 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 extension '.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)
. TODO : What is a list of all file types which can be used here ?
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.