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. Download and unarchive the zip file.
  2. Locate to your user scripts folder (a hidden folder) for the version of your Harmony.
  3. Add all unzipped files ( *.js, *.ui (if any) and the script-icons folder ) directly to the folder above.
  4. Add ANM_Set_Layer_Pivots_At_Center_Of_Drawings 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.