Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / MEL / MEL scripting an animated sweep?...Echo all commands misses the punch.
  RSS 2.0 ATOM  

MEL scripting an animated sweep?...Echo all commands misses the punch.
Rate this thread
 
55852
 
Permlink of this thread  
avatar
  • Total Posts: 50
  • Joined: 16 March 2010 04:41 PM

I have a MEL issue that I can solve a long way round, but I’m curious how you could resolve this with smarts.

problem:
I have a bunch of curves that I want to iteratively execute an animated sweep upon.

confusion:
when I echo all commands on an animated sweep I get some GUI feedback stuff that if I copy it into the script will not work with a fresh instance of maya. There are no verbose commands that I can get a handle on.

I could replicate the animated sweep procedure fairly easily by recreating it’s steps (duplicate iteratively through the frame range, loft)...simple enough…
I’m guessing the animated sweep procedure is (apparently) not in the command reference to avoid cluttering the language with commands that are combinations of more basic ones…

The real Issue;
I still don’t see why I can’t see the guts of the procedure when I hit the button.

Rather than the simple problem, it’s working with this sort of feedback in Maya that I wan’t to get my head around.

thanks,
R



Replies: 1
/userdata/avatar/bksn0s61e_thnkr100x100.png

whatIs performAnimSweep;
// Result: Mel procedure found in: /Applications/Autodesk/maya2012/Maya.app/Contents/scripts/others/performAnimSweep.mel //

Author: THNKR

Replied: 16 May 2011 02:56 PM  
avatar

Thanks Michiel.

whatIs"”
I have a power up!

Much appreciated,
Ryan



Replies: 0