Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Switch arnold translator with Python

3 REPLIES 3
Reply
Message 1 of 4
licenses
507 Views, 3 Replies

Switch arnold translator with Python

How to switch this translator with python?

https://docs.arnoldrenderer.com/display/AFMUG/Arnold+Translator

And how to set the filepath? Is there a way to find the python commands?

Tags (1)
Labels (1)
3 REPLIES 3
Message 2 of 4
Stephen.Blair
in reply to: licenses

Show the attributes in the Outline and check them.

getAttr "pCylinderShape1.aiTranslator"
getAttr "pCylinderShape1.dso"


// Stephen Blair
// Arnold Renderer Support
Message 3 of 4
licenses
in reply to: Stephen.Blair

tnx, what flag do I use when I want to setAttr? Its not a simple number..

Message 4 of 4
licenses
in reply to: licenses

Found it 🙂

cmds.setAttr(sel[0] + '.aiTranslator', 'procedural', type='string')

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report