zgyxn 发表于 2005-9-1 15:27:00

关于图形插入的问题

<P>On Error Resume Next<BR>&nbsp;&nbsp; Set blkRefObj = ThisDrawing.ModelSpace.InsertBlock(blkIns, FileName, 1, 1, 1#, 0#)<BR>&nbsp;&nbsp;&nbsp;????</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; autocad2006中出现错误,可以继续,担不给我插入图纸,Err.Number = -2145386422</P>
<P>好像2002中不怕,请高手指点。(vba编写)&nbsp;&nbsp; </P>

alin 发表于 2005-9-2 11:20:00

Paste more code please

zgyxn 发表于 2005-9-2 12:34:00

<P>用insert 插入时,出现以下问题</P>
<P>command:i INSERT<BR>Duplicate definition of block AR3_INFO&nbsp; ignored.<BR>Duplicate definition of block _DIMX&nbsp; ignored.<BR>Duplicate definition of block _ArchTick&nbsp; ignored.<BR>Duplicate definition of block AVE_RENDER&nbsp; ignored.<BR>Duplicate definition of block AVE_GLOBAL&nbsp; ignored.<BR>Duplicate definition of block RM_SDB&nbsp; ignored.<BR>Duplicate definition of block 1&nbsp; ignored.<BR>Duplicate definition of block 21&nbsp; ignored.<BR>Duplicate definition of block 23&nbsp; 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>

zgyxn 发表于 2005-9-2 12:35:00

drawing3

zgyxn 发表于 2005-9-3 16:44:00

<P>?????</P>
<P>有人可以指导一下吗?</P>
页: [1]
查看完整版本: 关于图形插入的问题