Version: 
Back to list

Scene :: mergePartsByMaterials

Synopsis

   Merge a set of parts by materials

GUI Dialog

   

Script function

   scene.mergePartsByMaterials(partPaths[, mergeNoMaterials]) -> mergedPaths

Parameters

   partPaths (ScenePathList) : Scene path of the parts to merge
   mergeNoMaterials (Boolean[optional] : If true, merge all parts with no active material together, else do not merge them

Return value

   mergedPaths (ScenePathList) : Resulting paths of the merged parts