In Maya I execute command to get the list for references included in the file:
cmds.file(fileName, q=True, reference=True)
It returns a list of the first level for references. And there is already a problem. If the file has an extension *.mb - then everything comes back. But if the file is saved as a *.ma - the command returns an empty list
I tried to run the command on MEL - the same result. I suspect that it is necessary to specify what that additional flags, but nothing like this in the documentation can not be found.
Tell me how to solve the problem?