Hi all, here my first post!
I have this script that outputs FBX files from Maya to Unity, now, I see that in the manual interface for FBX export there is an option for Audio including...
...and I have found all other needed commands in the Maya help, but I am still searching for this one with no luck..
some relative questions that may solve the issue:
- If I am using MEL for my export, does it even add audio (even if enabled in the manual interface) ?
(other values are taken from the last FBX export, unless specific commands override them)
- If it is enabled in the manual interface, will it export if I am doing an "export selected"?
much thanks to anyone that pops here trying to give a hand, no "2 cents" are unimportant!
Replies
Use this command to set an import value to true.
FBXProperties
from here:
https://knowledge.autodesk.com/guidref/MAYAUL/2016/learn-explore/GUID-76CF67F4-BBBB-48C6-AE48-6EF6975CB870
for future searches, the specific answer to audio is:
Export|IncludeGrp|Audio ( TYPE: Bool ) ( VALUE: "true" )
and applies like this (at least in MEL)
FBXProperty Export|IncludeGrp|Audio -v false