I'm currently working on a script to help me optimize my viewport for better performance. One way is changing the viewport aa. I have already found the line of code in which I can reference aa:
import bpy
bpy.types.PreferencesSystem.viewport_aa
But I can't figure out how to set a variable. My best guess was:
import bpy
bpy.types.PreferencesSystem.viewport_aa = "FXAA"
When I run that script, I don't get an error but nothing happens either. It's probably something simple I'm missing.
Thanks in advance!
If it helps: Blender API help link