Version: 
Back to list

Scene :: compress

Synopsis

   Compress a sub-tree by removing occurrence containing only one Child or empty, and by removing useless instances (see removeUselessInstances)

GUI Dialog

   

Script function

   scene.compress([occurrence]) -> resultingOccurrences

Parameters

   occurrence (Occurrence[optional] : Root occurrence for the process

Return value

   resultingOccurrences (Occurrence) : The resulting occurences of compression