Hi,
I have an issue with file referencing with a custom MPxFileTranslator plugin.
I'm currently working of a custom Alembic plugin for maya (working with the source code from the Alembic Group). I added several new option to the AbcImport command and I want to be able to use them with the file translator.
The orignal Alembic code was completly ignoring the "const MString& optionsString" argument for the MPxFileTranslator::reader() method.
I'm now properly using it with the syntaxe -option "argument1=value2;argument2=value1".
The string is used to build a MArgList and I then call the MPxCommand::doIt() method.
It's working perfectly on both standar file opening and file referencing.
The issue comes when I save and quit the scene. The "-option" flag is not written to file. So when reopening the scene, the reference is recreated without any custom option.
Is there any way to be able to keep this information when saving ?
Did anyone ever used the "-option" flag when creating a reference ?
Best,
Hans