Active Member
Posts: 9
Registered: ‎12-29-2006
Message 1 of 2 (51 Views)

A problem of adding entities from one Database to another.

51 Views, 1 Replies
01-06-2007 09:16 PM
I met a problem when I get Entities form db1 and append them into db2.The exception is :

Autodesk.AutoCAD.Runtime.Exception: eInvalidInput
Autodesk.AutoCAD.Runtime.Interop.ThrowExceptionForErrorStatus(Int32 errorStatus)
Autodesk.AutoCAD.DatabaseServices.BlockTableRecord.AppendEntity(Entity entity)

'AppendEntity ' entities that getting from Database1 into Database2 throw the exveption.

I developed in vs.net 2003 and autocad2006,thanks a lot!
Distinguished Contributor
Alexander Rivilis
Posts: 303
Registered: ‎09-26-2004
Message 2 of 2 (51 Views)

Re: A problem of adding entities from one Database to another.

01-07-2007 09:24 AM in reply to: WangYanbin
You need add to database copy of Entity.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!