Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

How to add arnold override attributes to objectSets using python or mel

2 ANTWORTEN 2
Antworten
Nachricht 1 von 3
Adrian_Tsang
798 Aufrufe, 2 Antworten

How to add arnold override attributes to objectSets using python or mel

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.

2 ANTWORTEN 2
Nachricht 2 von 3
Christoph_Schaedl
als Antwort auf: Adrian_Tsang

Same question.

How do i add those extra attributes to an selection set with Python.?

4577-aovs.jpg

----------------------------------------------------------------
https://linktr.ee/cg_oglu
Nachricht 3 von 3
Stephen.Blair
als Antwort auf: Adrian_Tsang

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";


// Stephen Blair
// Arnold Renderer Support

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report