Version: 
Back to list

Scene :: movePivotPointToOccurrenceCenter

Synopsis

   Move the pivot point of each occurrence listed in the function input, to the center of its bounding box (and of its children if the parameter is True)

GUI Dialog

   

Script function

   scene.movePivotPointToOccurrenceCenter(occurrences, applyToChildren)

Parameters

   occurrences (OccurrenceList) : Occurrences (or the roots occurrences if recursively=True)
   applyToChildren (Bool) : If True, all the pivot of the descending occurrences from occurrence will be affected