XDSoft 发表于 2014-12-7 13:16:00

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 *****





gungun22 发表于 2015-6-8 14:38:23

:):)have a look

dnbcgrass 发表于 2015-7-14 16:21:30

回复看看!

txllap 发表于 2015-7-14 16:24:34

别急,我要先去学几年英语,再来看帖子:lol

war5566sakura 发表于 2016-11-2 19:50:07

英語不行   翻譯拉

nianshaoqingshe 发表于 2016-11-30 21:28:09

学习,感谢楼主

qwh923820 发表于 2017-5-12 13:02:18

看看看卡{:1_4:}{:1_4:}{:1_4:}

mocheng 发表于 2019-7-8 01:16:45

回复学习学习

qq787116960 发表于 2024-7-6 23:27:01

RE: How to "undelete" entities, using VBA? [修改]
页: [1]
查看完整版本: How to "undelete" entities, using VBA?