Notifications
Clear all

[Closed] wierd problem – difference between selecting geometry & selecting helper

this is kindof a wierd issue i am facing with: from the listener try this

select $Box01 – This will take the focus off the listener window into the viewport

select $Dummy01 – This wont take the focus off the listener

I am working on a selection script and I dont want my rollout to loose focus everytime i select a geometry object…

this problem doesnt exist if you select multiple objects

3 Replies

just found out that this happens only if the modify panel is open…

so for the time being this is what i am doing to change the panel

startObjectCreation box
stopCreating()

you can also use…

max create mode

…to accomplish the same thing.

However, if you just don’t want the dialog / control to lose focus, look into

setFocus <UI element>

thanks for the one line code…

ideally i would like my rollout to never loose focus… but if the modify panel is open and i select a geometry object through my script takes the focus off my rollout… all i want is that it shouldnt loose focus but at the same time not be restricted to close my rollout before working in the viewport again…