Version:
2021.1
2020.2
2020.1
2019.2
2019.1
2018.3
Back to list
Scene :: setPivotOnly
Synopsis
Set the pivot of an occurrence to the given transformation matrix, the geometry will not be moved (warning: do not confuse with property Transform which actually move the occurrence)
GUI Dialog
Script function
scene.setPivotOnly
(
occurrence
,
pivot
)
Parameters
occurrence
(
Occurrence
) : The occurrence to move the pivot
pivot
(
Matrix4
) : The new transformation matrix for the occurrence (pivot)