Radiobuttons going crazy :(
Hi when i add a second line where i put arrows on the script bellow,
the script gives an error, but when everything is on 1 line it works fine other then the scale action that only works on a separate line
i want to add this to the second line under merge -> scale $ [0.90,0.90,0.90]
or is there a way i can put it all in 1 line without getting errors?
thanks in advance...
---------------------------------------
fn updateButton = (
do_it.text = case copy_type.state of (
1: "Cutter1 "
2: "Cutter2 "
3: "Cutter3 ")
do_it.text
)
on bt09 pressed do (
copyfn = case copy_type.state of (
1: mergemaxfile "C:\\Program Files\\Autodesk\\3ds Max 2010\\Scripts\\3DJM\\Cutters\\Cutter1.max" #("CutterA") #select #MergeDups <<<<-Problem cant add scale here
2: mergemaxfile "C:\\Program Files\\Autodesk\\3ds Max 2010\\Scripts\\3DJM\\Cutters\\Cutter2.max" #("CutterB") #select #MergeDups
3: mergemaxfile "C:\\Program Files\\Autodesk\\3ds Max 2010\\Scripts\\3DJM\\Cutters\\Cutter3.max" #("CutterC") #select #MergeDups
Comments
Just open a parenthesis
Just open a parenthesis after the "1:" so that you can run several lines of code.
Thanks allot for the help
Thanks allot for the help works great :)