- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been using a python script in Maya 2023 for a year with no issues. I've updated Maya to 2024. Initially, my script ran, but now it seems to be having trouble with mel commands:
mel.eval('FBXImportShapes -v true;')
gives
Error occurred during execution of MEL script
line 1: line 1: Cannot find procedure "FBXImportShapes".
So I tried the mel command in a mel tab:
FBXImportShapes -v true;
which gave
FBXImportShapes -v false;
// Error: line 1: Cannot find procedure "FBXImportShapes"
For reference, this is what I get if I run the exact same command in Maya 2023:
FBXImportShapes -v false;
// Result: Success
Simple mel commands (e.g. polySphere) work fine. Perhaps there is a section of the mel library that deals with fbx files that has not been loaded properly?
Just as background, I have installed PyMel in Maya 2024 and had to do some strange copying and renaming trick to get it to work (see https://www.autodesk.com/support/technical/article/caas/tsarticles/ts/6gfZgdPquwZ2qCVxfAkb1n.html)
As I say, Maya 2024 worked initially, running my script with no issues. At one point, I had one instance of Maya 2024 running my script with no problems and another refusing to run the exact same script!
I'm very much hoping this can be fixed, as the users of my script are asking for Maya 2024 support...
Solved! Go to Solution.