On 21/09/2017 at 16:44, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R16+
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
---------
I have a plugin Object which maintains an array of BaseLinks to tags (my plugin tags on other objects) in the scene document using a BaseLinkArray as a member of the ObjectData of the object plugin (instead of using GetDDescription() and dynamic LINKs). This is mainly for speed (avoid recursing the document) and to allow multiple of my plugin objects each with its own set of tags on objects.
Is it possible to save a BaseLinkArray using Read/Write/Copyto (ala the BaseLink if must be)?
What would be the best practice (in code, please) to achieve this? Would GetDDescription() simply be about the same speed (realizing the slow down of using BaseLinks but with the advantage of having awareness of missing/deleted links).