WblockCloneObjects: Autodesk.AutoCAD.Runtime.Exception "eOwnerNotSet"

WblockCloneObjects: Autodesk.AutoCAD.Runtime.Exception "eOwnerNotSet"

ciganek
Enthusiast Enthusiast
660 Views
1 Reply
Message 1 of 2

WblockCloneObjects: Autodesk.AutoCAD.Runtime.Exception "eOwnerNotSet"

ciganek
Enthusiast
Enthusiast

Hi,

 

I'm getting this error when trying to copy a block definition from another drawing. The block in question is annotative.  Has anyone else had this issue?

 

Thanks,

 

Peter

0 Likes
Accepted solutions (1)
661 Views
1 Reply
Reply (1)
Message 2 of 2

ciganek
Enthusiast
Enthusiast
Accepted solution

I guess there are more than one way to skin a cad.

 

When I import the block definition using database.Insert

 

(e.g.

 using (var xdb = sourcedb.Wblock(insert.BlockTableRecord))
{
db.Insert(insert.Name, xdb, false);
}

 

.. then the definition is successfully imported.

 

Thanks, Peter

 

0 Likes