Eplan Platform API
Eplan.EplApi.HEServices Namespace / HarnessService Class / ExportData Method / ExportData(Project,String,String,FilterMode,IEnumerable<String>) Method
Project of which the Harness data will be exported.
Full name of the output file.
Language used during the export operation, e.g. de_DE, en_EN, etc.
Defines the scope of export.
Specifies the filter criteria for given filtering mode. Collection can contain wire harness names.
Example

In This Topic
    ExportData(Project,String,String,FilterMode,IEnumerable<String>) Method
    In This Topic
    Exports Harness data.
    Syntax

    Parameters

    Parameter NameDescription
    oProjectProject of which the Harness data will be exported.
    strFileNameFull name of the output file.
    strLanguageLanguage used during the export operation, e.g. de_DE, en_EN, etc.
    nFilterModeDefines the scope of export.
    colFilterValuesSpecifies the filter criteria for given filtering mode. Collection can contain wire harness names.
    Exceptions
    ExceptionDescription
    Thrown in case of missing parameters.
    Thrown in case of invalid arguments, e.g. the given project does not exist or is not valid.
    Internal interface for exporting data could not be created.
    An error occurred during the export.
    Example
    Following example shows how to use the method:
    new HarnessService().ExportData(m_oTestProject, strDestinationFilePath, strExportLang, HarnessService.FilterMode.HarnessRelated, new List<String>() { strHarnessName1, strHarnessName2 });
    
    
    See Also