Object Position Problems
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/01/2005 at 04:40, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.100
Platform:
Language(s) : C.O.F.F.E.E ;---------Hi,
I worte a function to get all my Objects which are under other Objects into the first level. If I do this by hand in c4d there is no problem, but if i do this by coffee the objects will be moved to an other point in the scene.Can someone please tell me how to find a workaround or an other way to do this?
My function looks like this:
xyz(op,doc,parent){
while(op){
if(op->GetDown){
op=op->GetDown
xyz(op,doc,parent)
op->Remove()
op->InsertUnder(parent)
}
}Greetings from Freiburg(Germany)
Tim -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/01/2005 at 05:25, xxxxxxxx wrote:
Hi,
at first glance it seems when you put op under your parent the fist time, the list will go down from op downward. Set up a temporary pointer (storing op->GetUp() before you remove it) that you can pass to your xyz function, so it can correctly go down in the hierarchy.
HTH
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/01/2005 at 06:02, xxxxxxxx wrote:
Hi Katachi,
first thank you for your answer!
that is not my problem, my problem ist that the Information of the Gobal Matrix gets lost when the Object is moved up.Greetings Tim
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/01/2005 at 06:11, xxxxxxxx wrote:
? then get the global matrix once again. Where´s the problem? What do you actually want to do?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/01/2005 at 06:21, xxxxxxxx wrote:
The problem is that i`m really a newbee..
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/01/2005 at 06:27, xxxxxxxx wrote:
Thanks @ Katachi
, for lifting up my eyes!