Version: 
Back to list

Scene :: getPolygonCount

Synopsis

   Returns the number of polygon in the parts meshes

GUI Dialog

   

Script function

   scene.getPolygonCount(occurrences[, asTriangleCount[, countOnceEachInstance[, countHidden]]]) -> polygonCount

Parameters

   occurrences (OccurrenceList) : The part occurrences
   asTriangleCount (Bool[optional] : If true count the equivalent of triangles for each polygon
   countOnceEachInstance (Bool[optional] : If true ignore multiple instance of each tessellation
   countHidden (Bool[optional] : If true, also count hidden components

Return value

   polygonCount (Int) : The number of polygons