Version:
2021.1
2020.2
2020.1
2019.2
2019.1
2018.3
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