以下是出现错误的代码的一部分:
Public Sub Doc_ObjectModified(ByVal Obj As Object) Dim intI As Integer
Dim blockObj1 As AcadBlock, blockObj2 As AcadBlock Dim BlockRefObj As AcadBlockReference Dim insertionPnt(0 To 2) As Double insertionPnt(0) = 0 insertionPnt(1) = 0 insertionPnt(2) = 0 Set blockObj1 = AcadApp.ActiveDocument.Blocks.Add(insertionPnt, "Block_LateralV1") Set blockObj2 = AcadApp.ActiveDocument.Blocks.Add(insertionPnt, "Block_LateralV2") 。。。。。 。。。。。
提示:对象已经打开进行读取。 什么意思? 应该如何改动? 多谢。