Doing multiple copies of GoObject


#1

I need to create Multiple copies of the same GoObject

and insert them to different views.



I’ve only managed to copy it to two views. But no further.



What am I doing wrong?

Can’t figure out.



I got no error msg and none of the objects is either

the wrong type nor null.


#2

Ok, ok found it in the faq. Sorry for it.



Excerpt:

“Users can typically make a copy of an object by selecting it and then drag-copying it by holding down the Control key when dropping.

But you are asking about how to make a copy of an object programmatically in your code. If you just have one object to copy and add to a document, call the GoDocument.AddCopy method. If you have a bunch of objects to copy together, maintaining any links between them, use one of the GoDocument.CopyFromCollection methods.”