.NET

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

Unerase?

118 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 (118 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
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.