Harness proD API Help
EPLAN.Harness.API.DataStructures.LibraryConnections Namespace / ActiveConnection Class / ExportLibrary Method
Path to the directory where you want to save the exported drawing file.
Custom name of the exported file. If not provided the name of the library is used.
In This Topic
    ExportLibrary Method
    In This Topic
    Export current library to .hxexp file.
    Syntax
    public string ExportLibrary( 
       string directoryPath,
       string customFileName
    )

    Parameters

    directoryPath
    Path to the directory where you want to save the exported drawing file.
    customFileName
    Custom name of the exported file. If not provided the name of the library is used.

    Return Value

    Full path to the exported .hxexp file.
    Exceptions
    ExceptionDescription
    Argument is null.
    Argument is invalid. The exception is thrown when a wrong argument is passed to the method or the setter of property.
    This directory was not found.
    Remarks
    Exports all parts and styles to file.
    See Also