On 18/03/2016 at 14:27, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R16+
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
---------
This is a tricky one for me as it gets complex. A user can use an object with a hierarchy of children for a process. The user can use Polygon Selection tags, in an InExclude list on my plugin object, to denote areas not to be processed. When processing, this (possible) hierarchy of objects is:
1. CurrentStateToObject'd
2. Join'd
3. Triangulate'd
using SendModelingCommand().
In order to maintain only the Polygon Selection tags in the InExclude list, a clone of the object hierarchy will need to be made so that any non-relevant P.Sel tags can be removed for MDATA_JOIN_MERGE_SELTAGS in Join. Obviously can't remove them on the originals in the document.
So, when the clone is made, how do I maintain correlation between the InExclude list of tags in my plugin object and the tags on the cloned hierarchy?