New TVGs' default alignment is Centre First Page instead of Centre Fit

Issue
The default alignment for newly created TVGs is set to Centre First Page instead of Centre Fit

Solution
Select the drawing elements then run the following script to set their alignment to Centre Fit:

  • function ChangeReadCentreFit() {
    • scene.beginUndoRedoAccum(" ChangeReadCentreFit ");
    • var numNodes = selection.numberOfNodesSelected();
    • for (var i=0; i<= numNodes; i++) {
      • var selNode = selection.selectedNode(i);
      • node.setTextAttr(selNode, " ALIGNMENT_RULE ", 0, " CENTER_FIT ");
    • }
    • scene.endUndoRedoAccum();
  • }

Publish date: June 6, 2012

Reference number: B-03080

Category: Software Issues

Operating system:

  • Windows (all)
  • Mac OS X (all)

Software:

  • Animate (all)