Version: 
Back to list

Scene :: mergePartsByMaterials

Synopsis

   Merge a set of parts by materials

GUI Dialog

   

Script function

   scene.mergePartsByMaterials(partOccurrences[, mergeNoMaterials[, mergeHiddenPartsMode]]) -> mergedOccurrences

Parameters

   partOccurrences (OccurrenceList) : Occurrence of the parts to merge
   mergeNoMaterials (Boolean[optional] : If true, merge all parts with no active material together, else do not merge them
   mergeHiddenPartsMode (MergeHiddenPartsMode[optional] : Hidden parts handling mode, Destroy them, make visible or merge separately

Return value

   mergedOccurrences (OccurrenceList) : Resulting merged occurrences