-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpm.outlinerPanel
17 lines (16 loc) · 1002 Bytes
/
pm.outlinerPanel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import pymel.core as pm
# Create a new regular outliner in its own window
#
pm.window()
# Result: ui.Window('window1') #
pm.frameLayout( labelVisible=False )
# Result: ui.FrameLayout('window1|frameLayout15') #
panel = pm.outlinerPanel()
outliner = pm.outlinerPanel(panel, query=True,outlinerEditor=True)
pm.outlinerEditor( outliner, edit=True, mainListConnection='worldList', selectionConnection='modelList',\
showShapes=False, showReferenceNodes=False, showReferenceMembers=False, showAttributes=False, showConnected=False, \
showAnimCurvesOnly=False, autoExpand=False, showDagOnly=True, ignoreDagHierarchy=False, expandConnections=False, \
showNamespace=True, showCompounds=True, showNumericAttrsOnly=False, highlightActive=True, autoSelectNewObjects=False, \
doNotSelectNewObjects=False, transmitFilters=False, showSetMembers=True, setFilter='defaultSetFilter' )
# Result: ui.OutlinerEditor('window1|frameLayout15|outlinerPanel2|outlinerPanel2|outlinerPanel2|outlinerPanel2') #
pm.showWindow()