You can apply the makeRoll procedure to any geometry quickly by selecting the object to apply makeRoll to, and executing the makeRoll_create_UI global procedure. Before using a script in your scene, you must source it. Sourcing executes all the commands within a script file.
You can only access global procedures declared in the script file from the Script Editor. Any local procedures cannot be accessed from the Script Editor, and must be called from global procedure within the script file.
To source and use a script file
makeRoll_create_UI.mel
polyPyramid;
makeRoll_create_UI;
Explore different results that occur when you apply the makeRoll procedure with different user interface control values. Since you cannot undo the makeRoll procedure, you will have to create new geometry every time to apply the makeRoll procedure.
When you open a new Maya session, the makeRoll user interface procedure is no longer defined and must be sourced to use it.