Add_PLT
MethodAdd_PLT (Method)
This method inserts a PLT file into the drawing
Syntax:
Function Add_PLT(sPLTFile As String, x As Single, y As Single, z As Single, sScale As Single, sAngle As Single, vItemProperties As Object, iLayer As Short, vRetHandles As Object) As Boolean
The Add_PLT method syntax consists of the following:
Parameter |
Data Type |
Description |
sPLTFile |
String |
The name of the PLT file |
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 |
sScale |
Single |
The importing drawing scale factor |
sAngle |
Single |
The importing drawing rotation angle relative to the insertion point |
vItemProperties |
Object |
A string array of properties for the new object |
iLayer |
Short |
The layer number |
vRetHandles |
Object |
Returns an integer array with the handles of the new objects |
Return value:
Boolean - True on success, false on error.