Eplan Platform API
Eplan.EplApi.HEServices Namespace / Import Class / DXFPage Method / DXFPage(String,Page,Transformation,String) Method
Full file name of the CAD drawing to be imported.
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,Page,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

    Parameter NameDescription
    strDXFFileNameFull file name of the CAD drawing to be imported.
    oPagePage into which the CAD drawing will be placed.
    oTransformationInformation about the scaling and the insertion point on the page.
    strSchemeName of the scheme used for the import.
    Exceptions
    ExceptionDescription
    Thrown in case of invalid arguments.
    Access rights to the file system are missing.
    Thrown if a NULL value was passed for required 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