THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/09/2009 at 09:47, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.1+
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
Howdy,
I have a problem with my input object:
It seems that the GetAndCheckHierarchyClone() function can only handle one type of flag from the list of flags for a given hierarchy:
> Quote: __
>
> * * *
>
> HCLONE_ASIS - Objects unchanged. (Used by e.g. ArrayObject.)
>
> HCLONE_ASPOLY - Objects cloned as polygons. (Used by e.g. HyperNURBS.)
>
> HCLONE_ASLINE - Objects cloned as line objects.
>
> HCLONE_ASSPLINE - Objects cloned as splines.
>
> * * *
I found this thread:
Search thread
... that shows how to handle multiple flags, but it doesn't work if the hierarchy in question is a mixture of different object types.
If the hierarchy is like this:
Plugin Object (input)
-Sphere Primitive
--Instance (cube)
--Spline Primitive
... then the Spline Primitive is ignored
If the hierarchy is like this:
Plugin Object (input)
-Spline Primitive
--Sphere Primitive
--Instance (Cube)
... then both the Sphere Primitive and the Instance are ignored.
How can I get it to handle both flags when both types of objects are in the same hierarchy?
Adios,
Cactus Dan