udacha 发表于 2022-7-6 22:26:02

[Help] How to get object befor

I used SendCommand "Break" a line, and now i want get ObjectID 2 new line.Plz help me. Thanks!

BIGAL 发表于 2022-7-6 23:19:45

The 2nd line is easy its last entity, when broken easy to check.
 
I would use VBA break command rather than VBA sendcommand just search help. The other way is erase line and draw 2 new ones.
 

(entsel) ; pick line the entity name will appear note lisp not vbabreak line (entlast)(entsel); pick line the entity name will appear compare first pick.

udacha 发表于 2022-7-6 23:38:28

Thank you very much. Maybe draw 2 new line is easy and best
页: [1]
查看完整版本: [Help] How to get object befor