Is it possible to remove a redundant, intermediate transform or do similar DAG manipulations?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been trying some exercises in the Node Editor to learn Maya better, and ended up with a situation like this:
transform2 is redundant in this case, and just the identity transform. Is there any way to remove it? I tried unparenting, but it removed the top pCylinder1 transform and made transform2 then the top-level transform, which is not what I wanted. Of course, I could manually copy the attributes from pCylinder1 to transform2, but wondering if there was a better way.
Equivalently, is there a way to do arbitrary DAG manipulations, similarly to the way we can manipulate the DG in the Node Editor?
If it involve programming/scripting, that would also be of interest to me.
Thank you.
EDIT: Okay, I figured out how to do this in MEL:
parent -shape -relative pCylinderShape1 pCylinder1;