Add_DXF
MethodAdd_DXF (Method)
This method inserts a DXF file into the drawing
Syntax:
Function Add_DXF(sDxfFile As String, sDxfLayers As String, x As Single, y As Single, z As Single, vItemProperties As Object, fNoText As Boolean, fNoBlock As Boolean, fNoDimension As Boolean, vRetHandles As Object) As Boolean
The Add_DXF method syntax consists of the following:
Parameter |
Data Type |
Description |
sDxfFile |
String |
The name of the DXF file |
sDxfLayers |
String |
The DXF layer names to import (ex. sDWGLayers="[walls][windows]") |
x |
Single |
The x coordinate of the insertion point |
y |
Single |
The y coordinate of the insertion point |
z |
Single |
The z coordinate of the insertion point |
vItemProperties |
Object |
A string array of properties for the new object |
fNoText |
Boolean |
True to skip importing text |
fNoBlock |
Boolean |
True to skip importing blocks |
fNoDimension |
Boolean |
True to skip importing dimensions |
vRetHandles |
Object |
Returns a single-dimensional Long array with the new object handles |
Return value:
Boolean - True on success, false on error.
Remarks:
If the argument sDXFLayers is not given then all layers will be imported