PrintToDWG
MethodPrintToDWG (Method)
Exports the drawing into a DWG file
Syntax:
Function PrintToDWG(sDWGFile As String, fSelected As Boolean, xBase As Single, yBase As Single, zBase As Single, Version As AvaxACADVersion) As Boolean
The PrintToDWG method syntax consists of the following:
Parameter |
Data Type |
Description |
sDWGFile |
String |
The name of the DWG file |
fSelected |
Boolean |
True when o.nly the selected objects are printed |
xBase |
Single |
The x coordinate of the insertion point of the DWG file |
yBase |
Single |
The y coordinate of the insertion point of the DWG file |
zBase |
Single |
The z coordinate of the insertion point of the DWG file |
Version |
An expression that defines the version of the DWG file |
Return value:
Boolean - True on success, false on error