pymel.core.system.Translator¶
- class Translator(name)¶
Provides information about a Maya translator, which is used for reading and/or writing file formats.
>>> ascii = Translator('mayaAscii') >>> ascii.ext u'ma' >>> bin = Translator.fromExtension( 'mb' ) >>> bin Translator(u'mayaBinary') >>> bin.name u'mayaBinary' >>> bin.hasReadSupport() True
- ext¶
- extension()¶
- filter()¶
- static fromExtension(ext, mode=None, caseSensitive=False)¶
- getDefaultOptions()¶
- getFileCompression()¶
- hasReadSupport()¶
- hasWriteSupport()¶
- static listRegistered()¶
- name¶
- optionsScript()¶
- setDefaultOptions(options)¶
- setFileCompression(compression)¶