Example
by: | idea by Alex del Bondio, solution provided by Greg Haynes |
---|---|
published: | here |
description: | change Capture camera via macro |
remarks: |
Remarks
<?xml version="1.0" encoding="utf-8"?> <avolites.macros> <!-- Capture Camera, Alex del Bondio - April 2019 --> <macro id="adb.Macros.Capture.TopView" name="Capture Top View"> <sequence> <step>Visualiser.Capture.UpdatePosition (Windows.Visualiser.Capture.CameraPositions, Windows.Visualiser.Capture.SelectedCamera, CaptureCameraPositions.GetPresetPosition (Math.ToEnum("Avolites.Titan.Controllers.Console", "Avolites.Titan.Controllers.Console.CaptureVisualiser.CaptureCameraPresetPosition", "TopView")))</step> </sequence> </macro> <macro id="adb.Macros.Capture.FrontView" name="Capture Front View"> <sequence> <step>Visualiser.Capture.UpdatePosition (Windows.Visualiser.Capture.CameraPositions, Windows.Visualiser.Capture.SelectedCamera, CaptureCameraPositions.GetPresetPosition (Math.ToEnum("Avolites.Titan.Controllers.Console", "Avolites.Titan.Controllers.Console.CaptureVisualiser.CaptureCameraPresetPosition", "FrontView")))</step> </sequence> </macro> <macro id="adb.Macros.Capture.RightSideView" name="Capture Right View"> <sequence> <step>Visualiser.Capture.UpdatePosition (Windows.Visualiser.Capture.CameraPositions, Windows.Visualiser.Capture.SelectedCamera, CaptureCameraPositions.GetPresetPosition (Math.ToEnum("Avolites.Titan.Controllers.Console", "Avolites.Titan.Controllers.Console.CaptureVisualiser.CaptureCameraPresetPosition", "RightSideView")))</step> </sequence> </macro> <macro id="adb.Macros.Capture.LeftSideView" name="Capture Left View"> <sequence> <step>Visualiser.Capture.UpdatePosition (Windows.Visualiser.Capture.CameraPositions, Windows.Visualiser.Capture.SelectedCamera, CaptureCameraPositions.GetPresetPosition (Math.ToEnum("Avolites.Titan.Controllers.Console", "Avolites.Titan.Controllers.Console.CaptureVisualiser.CaptureCameraPresetPosition", "LeftSideView")))</step> </sequence> </macro> </avolites.macros>
This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax