Eplan Platform API
Eplan.EplApi.HEServices Namespace / Import Class / DXFDWGFiles Method / DXFDWGFiles(String,String,String,String) Method
Full link file name of the project for which the macros will be created. The macros will use the layer information from this project.
Directory from which the DXF / DWG files are imported.
Directory, to which the created macro files will be written.
Scheme used for importing DXF / DWG files.

In This Topic
    DXFDWGFiles(String,String,String,String) Method
    In This Topic
    Creates an EPLAN macro from a DXF / DWG file.
    Syntax

    Parameters

    strFullLinkFileName
    Full link file name of the project for which the macros will be created. The macros will use the layer information from this project.
    strDXFMacroDir
    Directory from which the DXF / DWG files are imported.
    strDestinationDir
    Directory, to which the created macro files will be written.
    strScheme
    Scheme used for importing DXF / DWG files.
    Exceptions
    ExceptionDescription
    Thrown in case of invalid arguments.
    Access rights to the \file system are missing.
    null was passed to a parameter.
    An argument contained invalid characters, e.g. a path contained a '\:'.
    Invalid path.
    An error occurred during the import. Please read the exception message.
    Remarks
    This method uses a scheme from "USER.DXF.SCHEMES". All necessary settings are set in this scheme. If you pass an empty string to "strScheme", the last used scheme will be used which is currently set in GUI. If no scheme does exist with the given scheme name, an exception will be thrown.
    See Also