# Setting an Object Filter for the outlinerEditor

**URL:** https://forum.highend3d.com/t/setting-an-object-filter-for-the-outlinereditor/100138
**Category:** Maya
**Tags:** python
**Created:** [October 2, 2016, 10:57pm UTC](https://forum.highend3d.com/t/setting-an-object-filter-for-the-outlinereditor/100138 "2016-10-02T22:57:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![blastframe](https://forum.highend3d.com/user_avatar/forum.highend3d.com/blastframe/32/2289_2.png) [@blastframe](https://forum.highend3d.com/u/blastframe)
#### Post date: [October 2, 2016, 10:57pm UTC](https://forum.highend3d.com/t/setting-an-object-filter-for-the-outlinereditor/100138/1 "2016-10-02T22:57:32Z")

</div>

Hello,  
Can anyone help me set up an Outliner with only Sets in Python, please?

From the Outliner menu, it’s Show \> Object \> Sets

I have read all of the [Outliner PyMel reference](http://download.autodesk.com/global/docs/maya2012/en\_us/PyMel/generated/functions/pymel.core.windows/pymel.core.windows.outlinerEditor.html), but I don’t see the parameters I can pass to the instantiation of the Outliner Window. For example, there are “setFilter” and “filter” flags, but I don’t know what to pass to them to get this Object filtering. There is “defaultSetFilter” but with that as the filter, I still see joints and geometry in my Outliner.

Thank you!

![](https://forum.highend3d.com/system/screenshots/316844/original/Outliner.PNG?1475449183)
