.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 2
mlovitt
400 Views, 1 Reply

Unerase?

I want to unerase an entity that's just been deleted. I'm listening to the Database.ObjectErase event, and then telling the object to unerase itself

entity.Erase(false);

The code runs without error, but the entity doesn't return to the canvas. Is there something else I need to do to bring the object back?

Michael
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: mlovitt

Does regen bring it back?

wrote in message news:4866974@discussion.autodesk.com...
I want to unerase an entity that's just been deleted. I'm listening to the
Database.ObjectErase event, and then telling the object to unerase itself

entity.Erase(false);

The code runs without error, but the entity doesn't return to the canvas. Is
there something else I need to do to bring the object back?

Michael

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost