pymel.core.system.finder

finder(*args, **kwargs)

Create, Query, Edit a finder control. Each finder control has a drop icon pocket, an edit line and a history button. The argument defines the name of the finder control. In query mode, return type is based on queried flag.

Flags:
Long name (short name) Argument Types Properties
addDropBox (adr) bool ../../../_images/create.gif ../../../_images/edit.gif
 
If true (default) a drop box is displayed and active.
addHistory (ah) bool ../../../_images/create.gif ../../../_images/edit.gif
 
If true (default) a history box is displayed.
annotation (ann) unicode  
   
backgroundColor (bgc) float, float, float  
   
command (c) callable ../../../_images/create.gif ../../../_images/edit.gif
 
Set the command to be executed when Enter is pressed.
defineTemplate (dt) unicode  
   
docTag (dtg) unicode  
   
dragCallback (dgc) callable  
   
dropCallback (dpc) callable  
   
enable (en) bool  
   
enableBackground (ebg) bool  
   
exists (ex) bool  
   
fileHistory (fh) unicode ../../../_images/create.gif ../../../_images/edit.gif
 
Add a history item to the history list. Note: this cannot be queried.
filePath (fp) unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Set the path in the text edit field.
fullPathName (fpn) bool  
   
height (h) int  
   
isObscured (io) bool  
   
label (l) unicode  
   
manage (m) bool  
   
numberOfPopupMenus (npm) bool  
   
parent (p) unicode  
   
popupMenuArray (pma) bool  
   
preventOverride (po) bool  
   
useTemplate (ut) unicode  
   
valueChanged (vc) callable ../../../_images/create.gif ../../../_images/edit.gif
 

Set the command to be executed when the value of the edit field changes. Flag can have multiple arguments, passed either as a tuple or a list.

visible (vis) bool  
   
visibleChangeCommand (vcc) callable  
   
width (w) int  
   

Derived from mel command maya.cmds.finder

Previous topic

pymel.core.system.findType

Next topic

pymel.core.system.flushUndo

Core

Core Modules

Other Modules

This Page