User Tools

Site Tools


macros:example:shapedirection

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

  • fire a playback with a shape
  • load it for live editing (with <Cue>/<Connect> <Shape>), select shape and hit <Enter>
  • fire one of the playbacks as you like to set the shape direction
You could leave a comment if you were logged in.
macros/example/shapedirection.txt · Last modified: 2020/03/02 08:38 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki