MAXON CINEMA 4D: Cinema 4D Forum Adobe After Effects Forum

parent/child select without going to the object manager

COW Forums : Maxon Cinema 4D

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
daniel tegelandparent/child select without going to the object manager
by on May 18, 2015 at 8:58:04 pm


I am looking for some script/function to select child/parent with multiple objects selected. Basically going up or down in a hierarchy mapped to a shortcut. I have found one script for selecting parents without having to go to the object manager. Look below

Now I need one with the same functionality but that works on children. Can anybody help me out?

var parent, obj;
var i;

for (i = 0; object(i); i++)
obj = object(i);
if(obj->GetUp()) {
parent = obj->GetUp();

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 All Rights Reserved