|
Add_PLT (Method)
This function 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
|
Is the name of the PLT file
|
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
|
sScale
|
Single
|
Is the importing drawing's scale factor
|
sAngle
|
Single
|
Is the importing drawing's rotation angle relative to the insertion point
|
vItemProperties
|
Object
|
Is a string array with properties for the new object
|
iLayer
|
Short
|
Is 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.
Example
|