Community
Does anyone know how to add arnold overrides in script? (the ones you get when you optionally add overrides to objectSets specifically in this case), aiSubdivType for example. I'm looking through the mota package and I've found the attribute editor templates but I;m having trouble digging out what I need to be able to create those attributes without pressing the buttons.
Same question.
How do i add those extra attributes to an selection set with Python.?
Ultimately it's just addAttr.
If you save your scene as MA:
createNode objectSet -n "set1"; rename -uid "79DDEA53-4BC2-E395-2E6F-1F8A86E10A58"; addAttr -ci true -sn "ai_disp_autobump" -ln "aiDispAutobump" -nn "Ai Disp Autobump" -ct "arnold" -min 0 -max 1 -at "bool"; setAttr ".ihi" 0; setAttr -s 4 ".dsm";