Posts: 18
Registered: ‎04-21-2011
Message 1 of 2 (105 Views)

eNotNewlyCreated exception with VS2010 and AutoCAD2012

105 Views, 1 Replies
02-03-2012 02:28 PM

I've recently ported some code from VS2008 and AutoCAD 2010 and realized that the eNotNewlyCreated exception continues to be raised when inserting blocks in a loop using AddNewlyCreatedObject in code that I'm pretty sure is only being called once.


Does anyone know anything about this?

ADN Support Specialist
Posts: 622
Registered: ‎03-26-2007
Message 2 of 2 (78 Views)

Re: eNotNewlyCreated exception with VS2010 and AutoCAD2012

02-07-2012 04:41 PM in reply to: dmleves49

Just for reference: this is a duplicate of http://forums.autodesk.com/t5/NET/eNotNewlyCreated-exception-using-VS2010-and-Acad-2012/td-p/3318197

Adam Nagy
Developer Technical Services
Autodesk Developer Network
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
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.