icon size error

hi again,
when i want to change the icon size, i get a MaxScript Rollout Handler Exception error saying “–unknown property: “icon size undefined””. line 479.
screenshot attached.
cheers
fuat

EDIT: strange thing is, i cant reproduce that error any more. it just showed up once until now. erverything wokrs fine now. so maybe an error on my side.

I know how to reproduce this.
Will add some code to prevent this from happening.

To reproduce, just click the “Stoke” button in the create panel, but do NOT create an actual object in the viewport. Then try to set any parameter via the [>>] buttons and you will get an error because selection[1] is undefined. I assumed incorrectly that no user would every use the [>>] buttons before actually creating a Stoke object, so I used the current selection without further precautions.

Thank you for the screenshot, it helped a lot!

Hello Bob,
thanks for your information.
You´re welcome, glad i could help.
Bye,
Fuat

We posted an updated Stoke UI script which should address this problem:
viewtopic.php?f=161&t=9429&p=40796#p40796

wow. so fast…
thank you very much.
great support here by the way.

cheers
fuat