Set or query parameters associated with the file translators specified in as the argument.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
defaultOptions (do) | unicode | ||
|
|||
extension (ext) | bool | ||
|
|||
fileCompression (cmp) | unicode | ||
|
|||
filter (f) | bool | ||
|
|||
list (l) | bool | ||
|
|||
loaded (ld) | bool | ||
|
|||
objectType (ot) | bool | ||
|
|||
optionsScript (os) | bool | ||
Query the name of the options script to use to post the user options UI. When this script is invoked it will expect the name of the parent layout in which the options will be displayed as well as the name of the callback to be invoked once the apply button has been depressed in the options area. |
|||
readSupport (rs) | bool | ||
|
|||
writeSupport (ws) | bool | ||
|
Derived from mel command maya.cmds.translator
Example:
import pymel.core as pm
# Returns true if dxf files can be read.
pm.translator( 'dxf', q=True, rs=True )