[求助]
<p>Private Function gettitlebar() As AcadBlockReference<br/>Dim blkref As AcadBlockReference<br/>For Each blkref In ThisDrawing.modelspace<br/>If StrComp(blkref.Name, "标题栏") = 0 Then<br/>Set gettitlebar = blkref</p><p>Exit Function<br/>End If<br/>Next blkref<br/>End Function</p><p>For Each blkref In ThisDrawing.modelspace这句总是类型不匹配 应该怎么改啊</p> 不能把blkref 定义成块引用,而应该是图元。 <p>这是您书里的源代码,我运行的时候就给出类型不匹配的提示啊</p>
页:
[1]