关于图形插入的问题
<P>On Error Resume Next<BR> Set blkRefObj = ThisDrawing.ModelSpace.InsertBlock(blkIns, FileName, 1, 1, 1#, 0#)<BR> ????</P><P> autocad2006中出现错误,可以继续,担不给我插入图纸,Err.Number = -2145386422</P>
<P>好像2002中不怕,请高手指点。(vba编写) </P> Paste more code please <P>用insert 插入时,出现以下问题</P>
<P>command:i INSERT<BR>Duplicate definition of block AR3_INFO ignored.<BR>Duplicate definition of block _DIMX ignored.<BR>Duplicate definition of block _ArchTick ignored.<BR>Duplicate definition of block AVE_RENDER ignored.<BR>Duplicate definition of block AVE_GLOBAL ignored.<BR>Duplicate definition of block RM_SDB ignored.<BR>Duplicate definition of block 1 ignored.<BR>Duplicate definition of block 21 ignored.<BR>Duplicate definition of block 23 ignored.<BR>Specify insertion point or <BR>:<BR>Regenerating model.</P>
<P>在2005以下版本中,用Set blkRefObj = ThisDrawing.ModelSpace.InsertBlock(blkIns, FileName, 1, 1, 1#, 0#)可以自动怱略,在2006中就出现了那个代码。</P>
<P>附文件,请用drawing3插入drawing2,可以看到问题存在<BR></P> drawing3 <P>?????</P>
<P>有人可以指导一下吗?</P>
页:
[1]