Go to: Synopsis. Return value. Flags. Python examples.
projFileViewer( string , [clear=boolean], [deselectIndexedItem=int],
[deselectItem=string],
[displayHidden=boolean],
[displayMode=int], [doubleClickCommand=script],
[forceRefresh=boolean],
[numberOfItem=boolean],
[numberOfSelectedItem=boolean],
[selectCommand=script],
[selectItem=string], [sortBy=string], [updateCommand=script], [workspace=string])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
projFileViewer is undoable, queryable, and editable.
This command creates a viewer that lists the project files in the
current working directory. The viewer can then be attached to a
pane.
None
In query mode, return type is based on queried flag.
clear, deselectIndexedItem, deselectItem, displayHidden, displayMode, doubleClickCommand, forceRefresh, numberOfItem, numberOfSelectedItem, selectCommand, selectItem, sortBy,
updateCommand, workspace
Flag can appear in Create mode of
command |
Flag can appear in Edit mode of command |
Flag can appear in Query mode of command |
Flag can have multiple arguments, passed
either as a tuple or a list. |
import maya.cmds as cmds
cmds.window( 'ProjWindow', rtf=0, wh=(150, 150) )
cmds.paneLayout( 'ProjPanes' )
cmds.projFileViewer( 'ProjFileView', dm=0 )
cmds.paneLayout( 'ProjPanes', e=True, cn='single', sp=('ProjFileView', 1) )
cmds.projFileViewer( 'ProjFileView', e=True, fr=True )
cmds.showWindow()