Table of Contents

Example

Shapes - Shape Direction

by: Sebastian Beutel
published: January 2019
description: changes shape direction for connected shapes
remarks: idea: https://www.facebook.com/groups/AvolitesTitanOne/permalink/1554856074650519/

functions

A longer file with macros for all possible directions is available at sb_shapesdirection.xml

Code

shapedirection_short.xml
<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
 
<!-- Directions: None, LeftToRight, TopDown, HorizontalBlinds, RightToLeft, BottomUp, 
                 VerticalBlinds, TopLeftIn, TopRightIn, RadialMiddle, BottomLeftIn, 
                 BottomRightIn, BottomMiddleUpRadial, EndsInLinear, Random -->
 
  <macro id="sb.Macros.shapes.direct.none" name="Shape Direction None">
    <sequence>
      <step>Editor.Shapes.SetCurrentShapesDirection("None")</step>
    </sequence>
  </macro>
 
  <macro id="sb.Macros.shapes.direct.LeftToRight" name="Shapes Direction LeftToRight">
    <sequence>
      <step>Editor.Shapes.SetCurrentShapesDirection("LeftToRight")</step>
    </sequence>
  </macro>
 
  <macro id="sb.Macros.shapes.direct.TopDown" name="Shapes Direction TopDown">
    <sequence>
      <step>Editor.Shapes.SetCurrentShapesDirection("TopDown")</step>
    </sequence>
  </macro>
 
.... <!-- more macros for other directions -->
 
</avolites.macros>

Explanation

This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax

tbd

How to use it