---
title: "fbxExportOptions"
canonical: "https://help.vicon.com/space/ShogunPost121/1253738099/fbxExportOptions"
format: markdown
---
# Description

Sets the export options for the FBX exporter for the next time you export an FBX.

## Functional area

File handling

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `fbxExportOptions [-collapseSubjects boolean] [-exportActiveClipOnly boolean] [-upAxis string] [-rotateToFacePositive boolean] [-exportLabelingSetups boolean] [-exportSkins boolean] [-namespaceMode string] [-unrollAnimationCurves boolean] [-exportPlayRangeOnly boolean] [-exportDataWithTimecodeOffset boolean] [-unscaleRetargeting boolean] [-version string] [-xyz boolean] ` |

### Arguments

None

### Flags

> Macro (scroll-tablelayout)

| Name | Flag arguments | Argument type | Comments |
| --- | --- | --- | --- |
| `collapseSubjects` | 1 | boolean | Add a root null node named ( Actor_1 ... Actor_n ) to all root level nodes which are not character nodes. |
| `exportActiveClipOnly` | 1 | boolean | Export all clips as takes instead of just the current active clip. |
| `upAxis` | 1 | string |  |
| `rotateToFacePositive` |  | boolean |  |
| `exportLabelingSetups` | 1 | boolean |  |
| `exportSkins` | 1 | boolean | Includes FBX skins in export |
| `namespaceMode` | UseName | string | Can be one of:<br>- **None:** Removes any present namespace(s) from the module names on export. For example, a module named John:LFHD is exported as LFHD. Warns you if stripping the namespace(s) results in multiple modules having the same name and that the importing application may add _# to resolve that.
- **Short**: Creates namespaces in the exported FBX based on the minimum path required to uniquely resolve the module, based on the hierarchy. If used with modules that contain colon-based namespaces, colon-based namespaces are maintained. Generally mixing colon and hierarchy based namespaces in FBX export is something you'd be unlikely to do in practice.
- **Full**: Creates namespaces in the exported FBX based on the full path of the module based on the hierarchy.   
If used with modules that contain colon-based namespaces, colon-based namespaces are maintained. Generally mixing colon and hierarchy based namespaces in FBX export is something you'd be unlikely to do in practice.
- **UseName**: Exports the modules as named, maintaining colon namespace(s) if present.  
Warns you if stripping the namespace(s) results in multiple modules having the same name and that the importing application may add _# to resolve that. |
| `unrollAnimationCurves` | 1 | boolean | Handles FBX exported from Shogun that contains Euler- or gimbal-flipping not visible in Shogun. When selected, behavior is like that of the Autodesk® MotionBuilder® Gimbal Killer filter on all rotation curves. |
| `exportPlayRangeOnly` | 1 | boolean | Exports data from playRange only: any other data is ignored |
| `exportDataWithTimecodeOffset` | 1 | boolean | Exports data with timecode offset |
| `unscaleRetargeting` |  | boolean |  |
| `version` |  | string |  |
| `xyz` |  | boolean |  |

## Return value

void

## Examples

```plaintext
// Add a root null node named ( Actor_1 ... Actor_n) to all 
// root level nodes that are not character nodes.
fbxExportOptions -collapseSubjects off
 
// Export all clips as take instead of just the current active clip.
fbxExportOptions -exportActiveClipOnly on;
```

# Additional information

## Related commands

- [c3dImportOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737285)
- [c3dExportOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253739304)
- [fbxImportOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736682)
- [loadFile](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738225)
- [mcpExportOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736836)
- [mcpImportOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253739007)
- [saveFile](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736795)
- [usdImportOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253741046)
- [x2dImportOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737688)
- [xcpImportOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737403)