Maya Export Tool

Export UI

Export UI

GUI for creating and saving exports from a Maya scene file. This works in conjunction with an ab_exportData node.The export node is in the root level of the scene and stores all the saved settings from the GUI in CSV format. The GUI is used to add, remove or modify this data. Ultimately this data will be used to export either through the GUI itself or a Windows batch process.

Pre-Export Tools

maya_export_tool_preexportThis area is a collection of tools relevant to the export process.
Tag Asset Root
The exporter needs a way to know which assets in the scene are eligible for export. This is accomplished by adding a boolean attribute to the Extra Attributes section for an object.
Add Tag
Adds an export root tag to the selected object. Typically this is the root node of an asset.
Remove Tag
Removes the export root tag from the selected object.
Check Scene Setup
Placeholder for script that will comb through the loaded scene and make sure it complies with the export requirements.

Input Settings

This section is where a new export is specified along with all its settings and added to the export list.

Input Area

Input Area

Export Model
The root node of a viable export option within the scene. Selected by clicking the Pick Model button to the right of the text field. A dialogue window will pop up listing all available export nodes in the scene.
Export Type
Type of export being performed. Current options are animation and model. Select the type to use through the drop-down menu to the right of the text field.
Export Path & Export Name
The export location and file name. This is set by clicking the Browse for Path button to the right of the text fields. A file browser window will appear.
Partition
Used only when exporting animation. This setting specifies which part of the skeleton to export. Available settings are: fullbody, lowerbody and upperbody. Selected using the drop-down menu to the right of the text fields.
Start Frame & End Frame
Used only when exporting animation. This is the start and end frame for the keyframe range to export. Set manually by typing in the ranges or by clicking the Get Current button to the right of the text fields. This button will apply the current scene’s frame range.
Clear Fields
Clears all the fields.
Add Item
Adds the current settings as a line in the Saved Settings section.

Saved Settings

List of all exports saved in the scene file’s ab_exportData node. Any line can be deleted by clicking the X button at the end of the line.

Saved Settings

Saved Settings

Each line can be edited individually by clicking its Edit button. A dialogue will appear that is formatted the same as the main GUI’s Input Settings section.

Edit Line

Edit Line

Exporting
There are two options built into the GUI, export selected or export all.
Export Selected
Selecting a line is as simple as ticking the checkbox at the head of the line. Once all the desired lines are selected just click the Export Selected button.
Export All
This exports all the lines in the list.