openpypeline.app.maya.file package
Submodules
openpypeline.app.maya.file.file module
File: file.py Description: Maya-specific file handling operations for openPypeline Studio.
This module is dynamically loaded by opsEngine when Maya is detected.
- openpypeline.app.maya.file.file.open(filepath)[source]
Opens a Maya scene file (.ma, .mb) or supported container given the filepath.
- openpypeline.app.maya.file.file.import_file(filepath)[source]
Imports a file into the current Maya scene.
- openpypeline.app.maya.file.file.reference_file(filepath)[source]
References a file into the current Maya scene.
- openpypeline.app.maya.file.file.save_as(filepath, file_type=None)[source]
Renames and saves the current scene.
- openpypeline.app.maya.file.file.export_file(filepath, file_type=None, selected=False)[source]
Exports the current scene or selection to a file.
- openpypeline.app.maya.file.file.flatten_references(master_name, workshop_name)[source]
Flattens the scene by importing all referenced files.
- openpypeline.app.maya.file.file.delete_display_layers()[source]
Deletes all display layers except defaultLayer.
- openpypeline.app.maya.file.file.set_workspace(proj_path, rules)[source]
Sets the Maya workspace and file rules.
- openpypeline.app.maya.file.file.is_modified()[source]
Returns True if the current scene has unsaved changes.