You might find people quicker to take a look at your code if you insert it rather than use images.
[How to] Post correctly formatted and colorized code on the forum? - Developers - SketchUp Community
1 Like
Please don’t post images with code. Change your post as @3DxJFD said.
You have your inputbox argument wrong.
Pay attention to the examples here
1 Like
caption = "Choose tolerance ..."
prompts = [ "Tolerance :" ]
tolerances = ["Baixa", "Média", "Alta"]
options = [ tolerances.join('|') ]
defaults = [ tolerances[1] ]
option = UI.inputbox(prompts, options, defaults, caption)