Copy Elements

Copy Elements

Anonymous
Not applicable
857 Views
3 Replies
Message 1 of 4

Copy Elements

Anonymous
Not applicable

I'm using element transform utils to copy groups from one document to another (which worked fine in 2018) but now get an error in 2019 - "Some of the elements cannot be copied, because they are view-specific.

HELP!

 

Thanks,

0 Likes
858 Views
3 Replies
Replies (3)
Message 2 of 4

zhong_wu
Autodesk Support
Autodesk Support

I am sorry but what is "element transform utils"? Is that a tool or something API related? Can you provide more details so we can help check more? Thanks. 


John Wu
Developer Technical Services
Autodesk Developer Network


0 Likes
Message 3 of 4

Ning_Zhou
Advocate
Advocate

same problem when copying textnote across documents

ElementTransformUtils.CopyElements(doc, copyIds, targetDoc, Transform.Identity, new CopyPasteOptions());

Ning_Zhou_0-1595393465573.png

 

0 Likes
Message 4 of 4

Ning_Zhou
Advocate
Advocate

solved, need to use views instead of documents

0 Likes