User Tools

Site Tools


macros:example:clearcolour

This is an old revision of the document!


Example

ClearColour

by:
published: October 2017
description: Clears Colour from programmer
remarks: Example for usage of clear mask

functions

Code

clearcolour.xml
<?xml version="1.0" encoding="utf-8"?>
<avolites.macros xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Avolites.Menus.xsd">
  <macro id="ClearColour" name="ClearColour">
    <sequence>
    <!-- Clear mask is the first argument Intensity=1, Positions=2,Colours=4, Gobos=8, Beam=16, Effect = 32, Special = 64, FX = 128, Time = 256 -->
    <!-- (int Mask, bool Clear Presets, bool ClearAllProgrammers, float fadeTime) -->
      <step pause="0.01">Programmer.Editor.Clear(4, true, false, 0)</step>
    </sequence>
  </macro>
</avolites.macros>

Explanation

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

Simply calls Programmer.Editor.Clear with the correct parameters.

How to use it

  • instead of holding <Clear> and setting the clear mask you can now fire this macro in order to clear only colour.
You could leave a comment if you were logged in.
macros/example/clearcolour.1522659994.txt.gz · Last modified: 2018/04/02 09:06 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki