Unknown syntax error
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 )
Comments
Awesome, that solved it,
Awesome, that solved it, thank you barigazy.
Sorry, I forgot to mention that this is in a macroscript, I just didn't include that part of the code. Special thanks to you in the version log =]
...
You can't use execute fn like this. Also this will works only inside macroscript
bga