PDA

View Full Version : rollout content automatic update


antonv
10-14-2005, 04:12 PM
Hi guys,

I have a rollout which displays some object properties based on the current selection. If the selectionchanges is there a way to display the properties of the new selection when it changes?
It would be nice to be able to update it automatically and not to be forced to press a refresh button or close and reopen the rollout...

Thanks!

Light
10-14-2005, 04:49 PM
Use a callback, IE:

callbacks.removeScripts id:#selX64
callbacks.addScript #selectionSetChanged "print \"selection changed!\"" id:#selX64




Light

antonv
10-14-2005, 05:14 PM
Thanks! It's exactly what I needed!

CGTalk Moderation
10-14-2005, 05:15 PM
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.