|
Add_DXF (Method)
This function 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
|
Is the name of the DXF file
|
sDxfLayers
|
String
|
Is the mames of the DXF's layers which you want to import (ex. sDWGLayers="[walls][windows]")
|
x
|
Single
|
Is the x coordinate of the insertion point
|
y
|
Single
|
Is the y coordinate of the insertion point
|
z
|
Single
|
Is the z coordinate of the insertion point
|
vItemProperties
|
Object
|
Is a string array with properties for the new objects
|
fNoText
|
Boolean
|
A Boolean expression that defines the non insertion of text
|
fNoBlock
|
Boolean
|
A Boolean expression that defines the non insertion of block
|
fNoDimension
|
Boolean
|
A Boolean expression that defines the non insertion of dimensions
|
vRetHandles
|
Object
|
Returns an integer array with the handles of the new objects single digit 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
Example
|