- 直接插入文件成块:
- Public Sub ss()
- Dim p1
- p1 = ThisDrawing.Utility.GetPoint(, "请指定插入点<0,0>:")
- If IsEmpty(p1) Then
- 'ReDim P1(2)
- p1 = Array(0, 0, 0)
- End If
- ThisDrawing.ModelSpace.InsertBlock p1, "D:\Program Files\shlisp2008\Blklib\卫生间详图\-1f集水坑.dwg", 1, 1, 1, 0
- End Sub
|