Mooncalf
05-31-2005, 01:11 AM
Hey y'all,
This forum has been really helpful to me in the past, so I thought I'd try my luck again. :)
I'm interested in learning just a bit more about the MEL commands that I can't seem to find in the MEL command reference in Maya.
In particular, I'm trying to make a script that will make a motion trail of a selected object, and then put that motion trail into a new layer.
I notice that when I create a motion trail manually, the command window echos "CreateMotionTrail" and "performMotionTrail" and "doMotionTrail", none of which I can seem to find any documents for. And I feel I'd need to adjust one or two flags or things to get my script to work properly.
My basic plan was to have the script do something like this:
1) Create the motion trail
2) Select the motion trail
3) Create a new layer to contain the currently selected objects
I just figure that to get from step #1 to step #2, I'll need to be able to control, or at least query, the name of the motion trail. And I simply can't figure out how to get that to happen.
Maybe I'm missing something more fundamental here. But any help would be greatly appreciated. Thanks! :)
- M
This forum has been really helpful to me in the past, so I thought I'd try my luck again. :)
I'm interested in learning just a bit more about the MEL commands that I can't seem to find in the MEL command reference in Maya.
In particular, I'm trying to make a script that will make a motion trail of a selected object, and then put that motion trail into a new layer.
I notice that when I create a motion trail manually, the command window echos "CreateMotionTrail" and "performMotionTrail" and "doMotionTrail", none of which I can seem to find any documents for. And I feel I'd need to adjust one or two flags or things to get my script to work properly.
My basic plan was to have the script do something like this:
1) Create the motion trail
2) Select the motion trail
3) Create a new layer to contain the currently selected objects
I just figure that to get from step #1 to step #2, I'll need to be able to control, or at least query, the name of the motion trail. And I simply can't figure out how to get that to happen.
Maybe I'm missing something more fundamental here. But any help would be greatly appreciated. Thanks! :)
- M
