import maya.mel as mel
mel.eval('deleteInvalidNurbs(0)')
mel.eval('deleteUnusedCommon_Multi({"stitchSrf","rebuildSurface","insertKnotSurface","avgNurbsSurfacePoints"}, 0, (uiRes("m_cleanUpScene.kDeletingUnusedPointConstraints")))')
mel.eval('deleteUnusedInUnusedHierarchy("nurbsCurve", 0, (uiRes("m_cleanUpScene.kDeletingUnusedNurbsCurves2")))')
mel.eval('deleteUnusedLocators()')
mel.eval('deleteUnusedConstraints()')
mel.eval('deleteUnusedPairBlends()')
mel.eval('deleteUnusedDeformers()')
mel.eval('removeAllUnusedSkinInfs()')
mel.eval('deleteUnusedCommon_Multi({"stitchSrf","rebuildSurface","insertKnotSurface","avgNurbsSurfacePoints"}, 0, (uiRes("m_cleanUpScene.kRemovingInvalid")))')
mel.eval('deleteUnusedCommon( "groupId", 0, '
'(uiRes("m_cleanUpScene.kDeletingUnusedGroupIDNodes2")) )')
mel.eval('deleteUnusedCommon("animCurve", 0, '
'(uiRes("m_cleanUpScene.kDeletingUnusedAnimationCurves2")))')
mel.eval('deleteUnusedCommon("snapshot", 1, '
'(uiRes("m_cleanUpScene.kDeletingUnusedSnapshotNodes2")))')
mel.eval('deleteUnusedCommon_Multi({"unitConversion","timeToUnitConversion","unitToTimeConversion"}, '
'1, (uiRes("m_cleanUpScene.kDeletingUnusedUnitConversionNodes2")))')
mel.eval('MLdeleteUnused()')
mel.eval('clearCache -allNodes')
mel.eval('deleteEmptyGroups()')
mel.eval('deleteEmptyLayers("Display")')
mel.eval('deleteEmptyLayers("Render")')
mel.eval('deleteUnusedSets()')
mel.eval('deleteUnusedCommon("partition", 0, (uiRes("m_cleanUpScene.kDeletingEmptyPartitions2")))')
mel.eval('RNdeleteUnused()')
mel.eval('deleteUnusedBrushes()')
mel.eval('deleteUnknownNodes()')
mel.eval('removeDuplicateShadingNetworks(0)')
More than 1 year has passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme