.NET

Reply
Contributor
mlovitt
Posts: 12
Registered: ‎05-19-2005
Message 1 of 2 (129 Views)

Unerase?

129 Views, 1 Replies
06-06-2005 04:35 PM
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
*Albert Szilvasy
Message 2 of 2 (129 Views)

Re: Unerase?

06-06-2005 09:26 PM 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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.