Created
August 31, 2011 17:18
-
-
Save bohdon/1184098 to your computer and use it in GitHub Desktop.
setting mental ray string options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
opts = SCENE.miDefaultOptions | |
key = 'ambient occlusion' | |
for item in opts.stringOptions: | |
if item.attr('name').get() == key: | |
item.value.set('true') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment