PDA

View Full Version : wierd problem - difference between selecting geometry & selecting helper


abyjoe
05-17-2008, 06:09 PM
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

abyjoe
05-17-2008, 07:25 PM
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()

ZeBoxx2
05-17-2008, 10:54 PM
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>

abyjoe
05-18-2008, 12:32 AM
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...

CGTalk Moderation
05-18-2008, 12:32 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.