Hello all,
I am getting a syntax error, and after hours of checking and rechecking, I can't figure out what it may be. All I am doing is calling up a rollout when the Macro is initiated. I have done this numerous times before and it works fine, but not here for some reason. Any help would be greatly appreciated.
Below is not the whole script, but just the problem section.
The Listener is saying that there is a syntax error "at (, expected do" [in reference to the third ( in this script]. I can't see any syntax errors, but maybe I have just been looking at it too long. Thanks for any help!
(
rollout TrisOrQuads "Select Polygons"
(
on execute do
(
label whichPolygon "Which Polygons to select?"
button tris "Tris" align:#left offset:[4,0] across:3
button quads "Quads" align:#left
button ngons "N-gons" align:#left
(
on tris pressed do
vertsCheck 3
on quads pressed do
vertsCheck 4
on ngons pressed do
ngonGen ngonGrab
)
)
)
createDialog TrisOrQuads width:200
)
barigazy · 2013-06-01