On 28/08/2017 at 06:57, xxxxxxxx wrote:
Cinema 4D Version: R17+
Language(s) : C++ ;
Hi! My object has a few link parameters which contains materials. These materials are then added to
virtually generated objects. I'm trying to find away to have these materials automatically copied when
the object is pasted into another document.
I've been looking at MSG_DOCUMENTINFO_OBJECT_INSERT, I could use that to find the materials in
the original document and copy them to the new document. But I have a feeling that it could very
clumsy/complicated when multiple objects referencing the same materials are copied, because I would
have to check which materials have already been copied over.
Is there a "native" way to implement this or is there one single special handling in Cinema 4D that looks
just at Texture Tags?