/* */

Tuesday, 23 February 2010

Useful MEL Commands - Loop Statements

Loops (also known as iterations) allow you to repeatedly execute statements as long as a statement is true.


Different Types of Loops
1. While-loops, work like an if statement, except it will continue to evaluate until the condition is satisfied/exceeded.


The parameters are stipulated in the scrip, so for instance you could tell it to repeat a process (such as create a poly primitive) 20 times. When that process reaches 20 it stops.

No comments:

Post a Comment