COPYCLIP and WblockCloneObjects ignores Extended dictionary?

This widget could not be displayed.

COPYCLIP and WblockCloneObjects ignores Extended dictionary?

Anonymous
Not applicable

Hi,

 

I've added an extension dictionary with a named dictionary in it. This named dicitonary contains some XRecords.

I can edit, add them to the objects I want, but when we try to copyclip (clipboard) it from drawing A to drawing B AutoCAD doesn't copy the extention dictionary with it.

 

I've already tried to use the wblockcloneobjects with the objectidcollection that contains the objectids of the objects we want to copy.

Objects are copied but the data is lost?

 

How can I get the entity's copied from drawing A to drawing B without lossing the data?

 

AcadEntity --> ExtensionDictionary --> NamedDictionary --> Xrecord(s)

 

Regards

Peter

0 Likes
Reply
Accepted solutions (1)
616 Views
2 Replies
Replies (2)

FRFR1426
Collaborator
Collaborator
Accepted solution
DBDictionary.TreatElementsAsHard ?
Maxence DELANNOY
Manager
Add-ins development for Autodesk software products
http://wiip.fr
0 Likes

Anonymous
Not applicable

I've settet the extentionsdicitonary and the named dict to treatelementsashard without success...

 

EDIT:

I've ran it on a new drawing, now I don't got a problem. I'll write a func to make the existing objects ok.

 

THANKS!

0 Likes