multiple generators on same obj dont work
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/01/2009 at 11:33, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.1+
Platform:
Language(s) : C++ ;---------
Hi,i have a question about generators.
I wrote a generator that does not works on an edgeSelection, that is dragged into a link-field of the generator object.
I did this so that i can have multiple generators in the scene with different settings for each edgeSelection.
These generators work on the same source Object (the owner of the edge selectionTag), but it seems that the VirtualHierarchyonly is only created for the first generator.
I suppose this is due to the use of GetAndCheckHierarchyClone(..) as this function seems to turn the source object invisible.
So what could i do to make the object available to multiple generators ?
Should i avoid using GetAndCheckHierarchyClone(..) in this case ?
thanks,
Daniel -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/01/2009 at 14:00, xxxxxxxx wrote:
Afaik you are only allowed to use GetAndCheckHierarchyClone() with child objects of a generator. It seems you don't use child objects but link fields. See also this related thread:
poly meshes and getvirtualobjects
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/01/2009 at 03:38, xxxxxxxx wrote:
Thanks for the info Matthias,
i'll just automatically insert instances under the generator then, and keep the selection link-field to decide on which selection to work.
I already tried it out and it works for me.
Now i can have multiple generators on the same object (instancees of the object that is), each working individually on the selectionTag in its link field.greetings,
Daniel