MEL Scripting to procedurally create 3D objects

References:

Demo Guide