How to "undelete" entities, using VBA?
How to "undelete" entities, using VBA?Question
Is there any technique in VBA which will allow us to delete entities, and later
'undelete' them, like AutoLISP does with (entdel)?
Answer
In a given drawing session, if you know the entity name, you can use LISP functions
like ENTDEL to 'undelete' an entity (these objects will not be present in subsequent
sessions).There is not an equivalent method in VBA, however.
A possible workaround, in VBA, is to use the SendCommand method to pass the
handle back to the command-line, and execute the (entdel) there.See below:
**** Hidden Message *****
:):)have a look 回复看看! 别急,我要先去学几年英语,再来看帖子:lol 英語不行 翻譯拉 学习,感谢楼主
看看看卡{:1_4:}{:1_4:}{:1_4:} 回复学习学习 RE: How to "undelete" entities, using VBA? [修改]
页:
[1]