[MEL] FBX Export Preset not loading.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello All,
I am new to MEL scripting and Maya in general but after reading the docs it seems there is a bug in Maya 2019.
1. I have created an FBX Export Preset that I have retrieved from Library/Preferences/Autodesk/maya/FBX/Presets/2019.2/export
2. I have moved this FBX export file to a new location on my MAC.
3. I run the command FBXLoadExportPresetFile -f "Location in Step 2"
4. Nothing changes in the Export Selection => Edit preset... => Still labeled as default or whatever was last set
5. I run the command file -force -options "v=0;" -typ "FBX export" -pr -es "export location";
I need this LoadExportPresetFile to work for automation as there are many different options we are trying to export with and different use cases for FPX presets. It is not conducive to run FPXExport with a ton of flags if we need to change the preset on the fly.
Does anyone have any idea why the presets are not being populated and saving the files as expected. I have tried using FPXRead to no avail as it says it is for Querying. I have also tested this out by making a preset file that saves in ASCII and loading as in step 4-5 and it is saving it as Binary which is the preset set in the editor windows.
How do I strictly using MEL set the proper FPX preset file. From the docs it seems I am doing the right things but the preset file is not being changed/overwritten.
Thanks,
Darien