Search
  • ychen3129

Enable Maya viewport Anti-aliasing

import pymel.core as pm

hdrg = pm.PyNode("hardwareRenderingGlobals")
try:
    hdrg.multiSampleEnable.set(1)
except:
    print("Anti-aliasing failed")
0 views0 comments