View Single Post
# 5 12-04-2010 , 09:35 PM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
See if this works:

Code:
//checks for our Window and Deletes it
if ('window -exists Node_Generate')
{
deleteUI -window Node_Generate;
}

// Window for our Node Generator
string $Node_Generator = 'window
-title "Node Generator"
– wh 128 256
Node_Generate';

//Define our row and column layouts
rowColumnLayout -numberOfColumns 2 -cw 2 50;

// Column 1: buttons, column 2: button descriptions
separator; separator;

button -label "arcLen Maker" -c "CurveInfo()"; text -label "CurveInfo";

separator; separator;

button -label "Mult Div" -c "multDiv()"; text -label "Mult Div Maker";

//shows our window
showWindow $Node_Generator;


"Terminat Bora Diem, Terminal Auctor opus."