Import Method

Imports a drawing or a group of saved layer settings from a file.

See Also | Example

Signatures: Overview

Drawing 

RetVal = object.Import(FileName, InsertionPoint, ScaleFactor) 

Layer Settings 

object.Import FileName 

Signatures: Detail

RetVal = object.Import(FileName, InsertionPoint, ScaleFactor)

Object

Document
The object or objects this method applies to.

FileName

String; input-only
The name of the file to be imported.

InsertionPoint

Variant (three-element array of doubles); input-only
The 3D WCS coordinates location in the current drawing where the imported file is placed.

ScaleFactor

Double; input-only
The scale used to place the imported file.

RetVal

Object
In the case of importing a WMF file, a BlockReference object is returned. In all other cases, the return value is NULL.


object.Import FileName

Object

LayerStateManager
A LayerStateManager object.

FileName

String; input-only
The name of the file you are importing layer settings from.

 

   Comments?