API Help
Eplan.EplApi.HEServices Namespace / Export3D Class / CopperForDXF Method
Project to be exported. Can not be null.
Name of machine which will be used to export. If null or empty then last used in GUI will be used.
Directory to which files will be written. If the folder does not exist, it will be created. If the user does not have the necessary rights to access the file system, an exception will be thrown. Can not be null or empty.
If true then all project is exported.
Collection of 3d object will be exported. Can be null if bEntireProject

In This Topic
    CopperForDXF Method
    In This Topic
    Exports unfolding of bended bus bar into DXF files.
    Syntax

    Parameters

    oProject
    Project to be exported. Can not be null.
    strMachineName
    Name of machine which will be used to export. If null or empty then last used in GUI will be used.
    strTargetDirectory
    Directory to which files will be written. If the folder does not exist, it will be created. If the user does not have the necessary rights to access the file system, an exception will be thrown. Can not be null or empty.
    bEntireProject
    If true then all project is exported.
    oCollection
    Collection of 3d object will be exported. Can be null if bEntireProject

    Return Value

    true if export finished with success, otherwise false
    Exceptions
    ExceptionDescription
    Thrown in case of invalid arguments.
    Thrown when neccessary argument is null.
    The internal interface used for export could not be created.
    No user rights to create files on the file system.
    Remarks
    Function creates DXF files in path passed by parameter strTargetDirectory. Source of this data is whole project or collections of bended bus bars. If parameter bEntireProject is true then oCollection ca be null. If machine name is passed it must be valid what means that the must scheme with this name must exists as node under name "COMPANY.NCLog.CopperDXFScheme.*".
    See Also