Notifications
Clear all
[Closed] camera clone
Sep 29, 2011 5:55 pm
a = $
b = maxops.cloneNodes a
select b.target
assuming a camera is selected
how can i select the target of the new cloned one?
4 Replies
Sep 29, 2011 5:55 pm
that is not how maxops.CloneNodes is used. it returns true, not the new node. This will work:
a = $
b = maxops.clonenodes a newNodes:&result
select result[1].target
Sep 29, 2011 5:55 pm
ty
so what is b here for?
is there another way by adressing the object b which will be the new camera?
Sep 29, 2011 5:55 pm
sorry, b is redundant in my example.
if you wanted the new camera returned in to b, you would write:
a = $
maxops.clonenodes a newNodes:&result
b = result[1]