Hi there,
I'm currently writing a script to import multiple textures and assign it to the respective UV set. In order to do so I set a modal dialog callback function before i call cmd("$LOADTEX");.
The callback function trys to select a UV set with cmd($#Uvsetname); and then presses the ok button. But unfortunatly it does only work the first time i call that function and sometimes not even then. Pressing the ok button works every time.
It feels a bit strange having to select the UV set by its name, but I cant figure out how to get the name or ID of the dropdown menu directly.
Has anybody some advice?
Thanks in advance,
David