maya拍屏时只显示特定类型的对象
options = {
"playblastOverrideViewport": True,
"playblastShowCVs": True,
"playblastShowCameras": False,
"playblastShowClipGhosts": False,
"playblastShowControllers": True,
"playblastShowDeformers": False,
"playblastShowDimensions": False,
"playblastShowDynamicConstraints": False,
"playblastShowDynamics": False,
"playblastShowFluids": False,
"playblastShowFollicles": False,
"playblastShowGreasePencil": True,
"playblastShowGrid": False,
"playblastShowHUD": False,
"playblastShowHairSystems": False,
"playblastShowHandles": False,
"playblastShowHoldOuts": True,
"playblastShowHulls": False,
"playblastShowIKHandles": False,
"playblastShowImagePlane": False,
"playblastShowJoints": False,
"playblastShowLights": False,
"playblastShowLocators": False,
"playblastShowMotionTrails": False,
"playblastShowNCloths": False,
"playblastShowNParticles": False,
"playblastShowNRigids": False,
"playblastShowNURBSCurves": False,
"playblastShowNURBSSurfaces": False,
"playblastShowOrnaments": False,
"playblastShowParticleInstancers": True,
"playblastShowPivots": False,
"playblastShowPlanes": False,
"playblastShowPluginShapes": False,
"playblastShowPolyMeshes": True,
"playblastShowSelectionHighlighting": True,
"playblastShowStrokes": True,
"playblastShowSubdivSurfaces": True,
"playblastShowTextures": False,
}
cmds.optionVar(intValue=options.items())
mel.eval("rebuildShowMenu;")