- 积分
- 987
- 明经币
- 个
- 注册时间
- 2004-2-13
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
楼主 |
发表于 2004-2-27 14:17:00
|
显示全部楼层
Dim InsertPoint(0 To 2) As Double Dim ExternalBlock As AcadExternalReference Dim TempBlock As AcadBlock Dim MsgStr As String For I = 1 To 10
Dim J As Integer J = 10 * I
InsertPoint(0) = 1 + J
InsertPoint(1) = 1 + J
InsertPoint(2) = 0
FileName = "E:\lgs\4052.dwg"
Set ExternalBlock = ThisDrawing.ModelSpace.AttachExternalReference(FileName, "ExternalReference", InsertPoint, 1, 1, 1, 0, False)
ThisDrawing.Blocks.Item(ExternalBlock).Bind False
Next
请帮我看看这些代码有甚么问题吗? |
|