Skip to content

Instantly share code, notes, and snippets.

@bohdon
Created August 31, 2011 17:18
Show Gist options
  • Save bohdon/1184098 to your computer and use it in GitHub Desktop.
Save bohdon/1184098 to your computer and use it in GitHub Desktop.
setting mental ray string options
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