Message 1 of 1
"Reveal selected' doesn't work, either with MEL or Python if Outliner is made visible

Not applicable
09-21-2012
07:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
well I can make the object to be revealed in the outliner by executing this line
but if the outliner is not visible and I make it show up by doing cmds.OutlinerWindow() then the above code of reveal selected doesnt work
the code below doesnt reveal the selected object in outliner after the outtliner is opened.
mel.eval('outlinerEditor -e -sc 1 outlinerPanel1;')
but if the outliner is not visible and I make it show up by doing cmds.OutlinerWindow() then the above code of reveal selected doesnt work
the code below doesnt reveal the selected object in outliner after the outtliner is opened.
cmds.OutlinerWindow()
mel.eval('outlinerEditor -e -sc 1 outlinerPanel1;')