Scripting Object Visibility?

 From:  Michael Gibson
11774.5 In reply to 11774.4 
Hi shayne,

re:
> Is it possible to write a script to assign to a key say f5 f6 f7 etc that hides / unhides
> a colour from the styles colours ?

Yes, try this:

script: /* Toggle visibility on given style */ var style_name = 'Blue'; var item = moi.ui.sceneBrowser.styles.find( style_name ); if ( item.hasStatusHiddenUnlocked || item.hasStatusHiddenLocked ) { item.alterStatus( 'show' ); } else { item.alterStatus( 'hide' ); }

- Michael