Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

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

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

Anonymous
Not applicable
465 Views
0 Replies
Message 1 of 1

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

Anonymous
Not applicable
well I can make the object to be revealed in the outliner by executing this line
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;')
0 Likes
466 Views
0 Replies
Replies (0)