Skip to content

Commit cc275f9

Browse files
authored
Merge pull request #520 from Unity-Technologies/UT-3402-update-documentation
UT-3402 update Maya integration documentation
2 parents 4f26294 + 19c1b3c commit cc275f9

File tree

4 files changed

+50
-3
lines changed

4 files changed

+50
-3
lines changed
10.8 KB
Loading
16 KB
Loading
3.64 KB
Loading

com.unity.formats.fbx/Documentation~/integration.md

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ For instance, if you import a file called *[email protected]*, the export set and n
104104

105105
This allows animation files to be easily imported and applied to the appropriate objects in the Scene. Autodesk® Maya® and Autodesk® Maya LT™ store the animation filename and path for easy export. A single animation file is supported per model file. Importing a new animation overwrites the existing animation in the Scene.
106106

107-
108107
### Exporting to Unity
109108

110109
There are three options available for export in Autodesk® Maya® and Autodesk® Maya LT™:
@@ -121,13 +120,61 @@ __File__ > __Unity__ > __Export Model Only__ exports all Models in the selected
121120

122121
__File__ > __Unity__ > __Export Animation Only__ exports only the animation applied to the objects in the export set as well as the minimum components required for the animation (such as transforms).
123122

124-
> **NOTE:** If no animation file with the **@** notation has been imported, then this option has no effect. The workaround for exporting a new animation is to first import an empty FBX file with the **@** notation (*{model}@anim.fbx*), so that the export set is configured correctly.
125-
126123
In order to export objects from the desired export set, you can select one or more objects in the set or the set itself. In either case, the FBX Exporter exports the entire contents of the set.
127124

128125
If you select multiple sets or objects from multiple sets, then the FBX Exporter exports each set to its respective file defined in the attributes of the set.
129126

127+
### Create a New Export Set in Maya
128+
129+
In order to export objects that are not part of an existing export set, follow these steps to prepare an export set.
130+
First select the desired objects for export. Next, select one of the following menu items:
131+
132+
![](images/FBXExporter_MayaUnityMenuItems.png)
133+
134+
__File__ > __Unity__ > __Create Export Set__
135+
136+
__File__ > __Unity__ > __Export__
137+
138+
Select either of these options to create an export set with settings for exporting animation and model FBX files.
139+
140+
__File__ > __Unity__ > __Export Model Only__
141+
142+
__File__ > __Unity__ > __Export Animation Only__
143+
144+
Select Model Only or Animation Only export to setup an export set for exporting a model or animation file.
145+
146+
After selecting one of the above menu items, the following dialog will appear to set the options for the export set:
147+
148+
![](images/FBXExporter_MayaCreateExportSetDialog.png)
149+
150+
| Property: | Function: |
151+
| :---------------------------- | :----------------------------------------------------------- |
152+
| __Model File Path__ | The file path to export to when calling __File__ > __Unity__ > __Export__ and __File__ > __Unity__ > __Export Model Only__. |
153+
| __Model File Name__ | The file name to export to when calling __File__ > __Unity__ > __Export__ and __File__ > __Unity__ > __Export Model Only__. |
154+
| __Anim File Path__ | The file path to export to when calling __File__ > __Unity__ > __Export Animation Only__. |
155+
| __Anim File Name__ | The file name to export to when calling __File__ > __Unity__ > __Export Animation Only__. |
156+
| __Strip Namespaces on Export__ | Check this option to automatically strip the most common namespace in the set on export (e.g. if most objects are in namespace `model:`, then `model:` will be stripped on export). |
157+
| __Create Set And Export__ | Creates the set and immediately exports selection. |
158+
| __Create Set__ | Creates set without exporting. |
159+
| __Cancel__ | Cancels set creation and closes dialog. |
160+
161+
### Editing Export Set Attributes
162+
163+
After an export set has been created (through __File__ > __Unity__ > __Import__, __File__ > __Unity__ > __Create Export Set__, or one of the export options), it is possible to edit the export options
164+
on the set. In order to do so, select the set, go to the Attribute Editor, and modify the Unity attributes under the Extra Attributes header.
165+
166+
> **NOTE:** If Arnold is installed, the attributes may appear in the Attribute Editor under __Arnold__ > __Extra Attributes__
167+
168+
![](images/FBXExporter_MayaExportSetAttributes.PNG)
130169

170+
| Property: | Function: |
171+
| :---------------------------- | :----------------------------------------------------------- |
172+
| __Unity Fbx Model File Path__ | The file path to export to when calling __File__ > __Unity__ > __Export__ and __File__ > __Unity__ > __Export Model Only__. |
173+
| __Unity Fbx Model File Name__ | The file name to export to when calling __File__ > __Unity__ > __Export__ and __File__ > __Unity__ > __Export Model Only__. |
174+
| __Unity Fbx Anim File Path__ | The file path to export to when calling __File__ > __Unity__ > __Export Animation Only__. |
175+
| __Unity Fbx Anim File Name__ | The file name to export to when calling __File__ > __Unity__ > __Export Animation Only__. |
176+
| __Unity Fbx Strip Namespaces__ | Check this option to automatically strip the most common namespace in the set on export (e.g. if most objects are in namespace `model:`, then `model:` will be stripped on export). |
177+
| __Unity Fbx Namespace__ | (Optional) Specify a custom namespace to strip on export. If the `Unity Fbx Strip Namespaces` checkbox is checked and the Namespace field is empty, then it will find the most common namespace to strip. Otherwise, if the checkbox is checked and the namespace field is not empty, then the namespace specified in this field will be stripped. |
131178

132179
## Working with Autodesk® 3ds Max® 2017+
133180

0 commit comments

Comments
 (0)