Version: 
Back to list

Scene :: movePivotPointToTargetedOccurrenceCenter

Synopsis

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

GUI Dialog

   

Script function

   scene.movePivotPointToTargetedOccurrenceCenter(occurrences, target, applyToChildren)

Parameters

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