Eplan Platform API
Eplan.EplApi.HEServices Namespace / Export3D Class / DrillingTemplatesToDXF 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 from whicg drillings will be exported. Can be null if bEntireProject

In This Topic
    DrillingTemplatesToDXF Method
    In This Topic
    Exports drillings of a 3d objects 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 from whicg drillings 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 files with numerical control data in path passed by parameter strTargetDirectory. Source of this data is whole project or collections of 3d placements. 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.NCDXFScheme.*".
    See Also