Harmony Script

Set Layer Pivots at the Center of Drawings

A simple script that sets layer pivot at the center of selected drawings based on each drawing’s shapes at current frame.

This script is compatible with Harmony 17.0.0 and up.


Installation

  1. Click on the Download button above. The GitHub page for this script will open.
  2. On the page, click on the Code button then choose Download Zip from the menu.
  3. Locate to your user scripts folder (a hidden folder) for the version of your Harmony.
  4. There is a folder named src inside the zip file. Copy all its contents directly to the folder above.
  5. In Harmony, add ANM_Set_Layer_Pivots_At_Center_Of_Drawings function to any toolbars.

Direction

  1. Select one or more drawing nodes that you want to set its layer pivots to.
  2. You can also select group nodes that contain drawings to process them in a batch.
  3. Run ANM_Set_Layer_Pivots_At_Center_Of_Drawings.

Additional Information

  1. The script will set the layer pivot directly on the selected drawing node if the drawing node is set to be animatable by drawing tools.
  2. When the “Animate Using Animation Tool” option is turned off on the drawing, this script sets a layer pivot on the drawing node’s parent peg.
  3. The layer pivot is also set on its parent peg if the drawing node is set to “Apply Embedded Pivot on Parent Peg” mode.

Copyright © 2024 Yu Ueda All Rights Reserved.