Export Scene File
scene.exportExport selected nodes or the entire Maya scene to common file formats (.ma, .mb, .obj, .fbx, .abc, .usd) with optional animation data for FBX exports.
Instructions
Export scene content to a file. Export selected nodes or entire scene. Supports multiple formats (.ma, .mb, .obj, .fbx, .abc, .usd, .usda, .usdc).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| animation | No | If True, include animation data (FBX only). If False (default), export static. | |
| file_path | Yes | Path for the exported file (.ma, .mb, .obj, .fbx, .abc, .usd, .usda, .usdc) | |
| export_mode | No | What to export: 'selected' (default) or 'all' | selected |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | ||
| success | Yes | ||
| file_path | Yes | ||
| nodes_exported | Yes |