Carsten Trolle Posted October 28, 2012 Posted October 28, 2012 Hi, I need to make my lisp code do some stuff when certain types of entities are erased from the drawing. That means I need to query the entity which is about to be erased. As I can see there are several reactor types, which deal with the erasing of elements, but most of them allows you to retrieve the enitity name only after it is deleted and therefore too late to access any other information (I am looking for info such as like insertion point, block names etc.) When I use the :vlr-commandWillStart on the "Erase" command in combination with the (ssgetfirst) this gives me access to the desired info. BUT only if the user selects the elements for erasing prior to giving the "erase" command. If the users working sequence is to first give the "erase" command and then pick/select what should be erased then it does not work. Can somebody guide me to a method (reactor or other) for picking up the entities also when they are selected by the user "inside the erase operation" ? BR Carsten Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.