PDA

View Full Version : whatIs


thebrianproject
12-28-2010, 05:39 PM
Does anyone know what the difference, when using the whatIs command, between a script, command, and mel proceedure?

How do they differ, and are those three the only types that will return (other than variable type)? I'm a little murky on this.

Thank you!

NaughtyNathan
12-28-2010, 06:29 PM
a 'command' is any core library (C++) or built-in command, or one created via a plug-in.

e.g. `polyCube`, `mag`, `rayIntersect`, etc...

a script is any saved text file that contains MEL code

e.g. "userSetup.mel", "fileMenu", etc...

a mel procedure is an actual defined procedure, whether entered interactively (typed directly into the Script Editor) or sourced from a script file.

e.g. buildFileMenu, myGlobalProc, etc...

:nathaN

thebrianproject
12-28-2010, 07:23 PM
Awesome! Thanks for the response. That pretty much answers that.

CGTalk Moderation
12-28-2010, 07:23 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.