Checking if a renderer property is local to a pass


To determine whether or not a renderer property is local, you can check the LocalProperties of the pass:

si = Application
log = Application.LogMessage

for p in si.ActiveProject.ActiveScene.Passes:
	if p.LocalProperties( 'Arnold Render Options' ):
		log( p.FullName + " has a local Arnold Render Options property" )

Leave a comment