cleanupscene.mel not working in 2024

cleanupscene.mel not working in 2024

Craig_Lamorte
Advocate Advocate
2,093 Views
4 Replies
Message 1 of 5

cleanupscene.mel not working in 2024

Craig_Lamorte
Advocate
Advocate

Hi,

 

I had a mel command that was working in 2022 but now is broken in 2024, not sure how to fix it.

 

 

mel.eval('source "cleanUpScene.mel"; scOpt_performOneCleanup( { "nurbsSrfOption", '
         '"setsOption", "partitionOption", "transformOption", '
         '"displayLayerOption", "renderLayerOption", "animationCurveOption", '
         '"clipOption", "poseOption", "unusedNurbsSrfOption", '
         '"cachedOption", "unusedSkinInfsOption", "expressionOption", '
         '"groupIDnOption", "shaderOption", "locatorOption", "ptConOption", '
         '"pbOption", "snapshotOption", "unitConversionOption", "referencedOption", '
         '"brushOption", "unknownNodesOption" } );')

 

 

 

# line 1: file: C:/Program Files/Autodesk/Maya2024/scripts/startup/cleanUpScene.mel line 758: Cannot find procedure "setOptionVars".

 

 

0 Likes
Accepted solutions (1)
2,094 Views
4 Replies
Replies (4)
Message 2 of 5

brentmc
Autodesk
Autodesk
Accepted solution

Hi,

This issue should be fixed in the just released Maya 2024.1 update.

Brent McPherson
Principle Engineer
0 Likes
Message 3 of 5

Craig_Lamorte
Advocate
Advocate

thanks that did it!

0 Likes
Message 4 of 5

monte_young
Observer
Observer

// Error: file: /Applications/Autodesk/maya2024/Maya.app/Contents/scripts/startup/cleanUpScene.mel line 758: Cannot find procedure "setOptionVars".

0 Likes
Message 5 of 5

brentmc
Autodesk
Autodesk

Hi,

Install the latest 2024 update to fix this issue.

Brent McPherson
Principle Engineer
0 Likes