THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/03/2004 at 11:09, xxxxxxxx wrote:
Cinema 4D Version: 8.200
Platform: Windows ;
Language(s) : C.O.F.F.E.E ; XPRESSO ;
I´m stepping through the hierachy and creating cubes depending on what object is is stepped on in the hierachy using this code
CreateCube(stepObject->GetDown()); // function to create cubes
This stops working if a null is anywhere in the scene, is this normal? If yes how does one step properly with COFFEE through objects in the hierachy?
(sorry the formmating got messed up again by the browser)
On 15/03/2004 at 15:46, xxxxxxxx wrote:
I dont' think its that code that is the problem. I think its a combination of things, try adapting your code to follow this
var o = doc->GetFirstObject();
that works fine, it finds every bone, and dont stop on nulls or anything
On 15/03/2004 at 23:44, xxxxxxxx wrote:
Thanks for the answer Geespot, I´l have to try it out. But maybe I have to clarify things a bit. The code iterates and carries out the CreateCube() function well with any number and any sort of object. It iterates through the hierachy but does not carry out the function only when a null is in the scene, very strange. Is there a reserved property, undocumented perhaps that could cause this problem?