Mundug
08-30-2005, 08:44 PM
I am in need of a MEL script that allows me to select a bunch of planes.
and then changes the rotate.Y attribute of the individual planes to persp.rotateY
I was trying this to sove my problem:
string $selected[] = `ls -sl`;
for ($i in $selected)
{
aimConstraint -skip x -skip z "persp" $i;
}
However the aimconstraint does not quite do the same as matching up Y rotations and I am a real newbie at MEL scripting, still green behind the ears and all.
Any help is greatly appreciated
and then changes the rotate.Y attribute of the individual planes to persp.rotateY
I was trying this to sove my problem:
string $selected[] = `ls -sl`;
for ($i in $selected)
{
aimConstraint -skip x -skip z "persp" $i;
}
However the aimconstraint does not quite do the same as matching up Y rotations and I am a real newbie at MEL scripting, still green behind the ears and all.
Any help is greatly appreciated
