Version: 
Back to list

Scene :: findByActiveMaterial

Synopsis

   Find all part occurrence with a given material as active material (i.e. as seen in the rendering)

GUI Dialog

   

Script function

   scene.findByActiveMaterial(material[, roots]) -> paths

Parameters

   material (Material) : A material
   roots (ScenePathList[optional] : If specified, restrict the search from the given roots

Return value

   paths (ScenePathList) : Scene paths or part with the given material as active material