global proc ifLogicTest()
{
int $randNum = rand(10.9999);
print ($randNum+"\n");
if ((($randNum == 3) || ($randNum == 5)) || ($randNum == 7))
{
polyPlane -w 1 -h 1 -sx 10 -sy 10 -ax 0 1 0 -cuv 2 -ch 1;
}
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter