API Help
Eplan.EplApi.HEServices Namespace / Import Class / DXFPage Method / DXFPage(String,String,String,Transformation,String) Method
Full file name of the CAD drawing to be imported.
Full link file name of the project.
Name of the page into which the CAD drawing will be placed.
Information about the scaling and the insertion point on the page.
Name of the scheme used for the import.

In This Topic
    DXFPage(String,String,String,Transformation,String) Method
    In This Topic
    Imports a DXF or DWG file into an existing page. You have the possibility to move and scale the drawings.
    Syntax

    Parameters

    strDXFFileName
    Full file name of the CAD drawing to be imported.
    strFullLinkFileName
    Full link file name of the project.
    strPageName
    Name of the page into which the CAD drawing will be placed.
    oTransformation
    Information about the scaling and the insertion point on the page.
    strScheme
    Name of the scheme used for the import.
    Exceptions
    ExceptionDescription
    Thrown in case of invalid arguments.
    Access rights to the \file system are missing.
    null was passed to a parameter.
    \Internal interface necessary for the import cannot be created.
    An argument contained invalid characters, e.g. a path contained a '\:'.
    Invalid path.
    An error occurred during the import. Please refer to the exception message.
    Remarks
    This method uses a scheme from "USER.DXF.SCHEMES". All necessary settings for DXF import 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