Cavalry
  • Welcome
  • Getting Started
    • Requirements
    • Installation
    • Sign In
      • Proxy Server
    • Quick Start
    • Example Files
    • Key Concepts
      • Nodes
      • Connections
      • Context
  • User Interface
    • Menus
      • File menu
      • Edit menu
      • View menu
      • Composition menu
      • Create menu
      • Animation menu
      • Shape menu
      • Tool menu
        • Select tool
        • Edit Shape tool
        • Pen tool
        • Pencil tool
        • Line tool
        • Text tool
        • Rectangle tool
        • Ellipse tool
        • Polygon tool
        • Star tool
        • Arc tool
        • Super Ellipse tool
        • Cog tool
        • Arrow tool
        • Capsule tool
      • Window menu
        • Align Window
        • Animation Utilities
        • Assets Window
          • Google Sheets Asset
          • Image Sequences
          • Project Settings
        • Attribute Editor
          • Control Rows
            • Controls Rows - Types
            • Control Rows - Interaction
        • Color window
          • Palettes
        • Control Center
        • Quick Add window
        • Flow Graph
        • Glyph Browser
        • Playback Controls
        • Preferences
        • Render Manager
          • Lottie Export
          • Dynamic Rendering
          • Render Tokens
        • Scene Window
          • Scene Tree
            • Composition Settings
          • Time Editor
          • Graph Editor
          • Keyframe Layers
        • Shelf
        • Tags
        • Toolbar
        • Viewport
          • Rulers
      • Help menu
    • Widgets
      • Gradient
      • Graph Attribute
    • General
      • Aliasing
      • Blend Modes
      • Distribution Types
        • Array Distribution
        • Circle Distribution
        • Fibonacci Distribution
        • Grid Distribution
        • Linear Distribution
        • Mask Distribution
        • Math Distribution
        • Path Distribution
        • Point Distribution
        • Random Distribution
        • Rose Distribution
        • Shape Edges Distribution
        • Shape Points Distribution
        • Shuffle Distribution
        • Sub-Mesh Distribution
        • Voxelize Distribution
      • Color Management
      • Motion Blur
      • Vector artwork support
  • Nodes
    • Shapes
      • Common Attributes (Shapes)
      • Background Shape
      • Basic Line
        • Bézier
        • Line
        • Spiral
      • Basic Shape
        • Arc
        • Arrow
        • Capsule
        • Cogwheel
        • Ellipse
        • Polygon
        • Rectangle
        • Ring
        • Star
        • Super Ellipse
      • Cel Animation Shape
      • Composition
      • Connect Shape
      • Convex Hull
      • Custom Shape
      • Duplicator
      • Editable Shape
      • Footage Shape
      • Group
      • Image to Shapes
      • Layout Shape
        • Grid Layout
        • Horizontal Layout
        • Vertical Layout
      • Outline
      • Points to Curve
      • Quad Tree Shape
      • Rectangle Pattern
      • SVG
      • Spacer
      • Sub-Mesh Bounding Box
      • Text Shape
      • Trails
    • Behaviours
      • Common Attributes (Behaviours)
      • 3D Matrix
      • Add Divisions
      • Align
      • Alpha Material Override
      • Apply Distribution
      • Apply Layout
      • Behaviour Mixer
      • Bevel
      • Blend Shape
      • Blend Sub-Mesh Positions
      • Boolean
      • Clean Up
      • Color Blend
      • Color Material Override
      • Curve to Lines
      • Distance
      • Fill Rule
      • Flare
      • Flatten Shape Layers
      • Frame
      • Get Vector
      • HSV Material Overide
      • Is Within
      • Look At
      • Manipulator
      • Material Sampler
      • Modulate
      • Morph
      • Noise
      • Number Range
      • Number Range to Color
      • Oscillator
      • Path Offset
      • Pathfinder
      • Pinch
      • Position Blend
      • Push Along Vector
      • Random
      • Resample Path
      • Round
      • Rubber Hose Limb
      • Simple Value Solver
      • Simple Value2 Solver
      • Skew
      • Sound
      • Split Path
      • Spring
      • Squetch
      • Stagger
      • Sub-Mesh
      • Subdivide
      • Swap Color Override
      • Value
      • Value 2
      • Value Blend
      • Value2 Blend
      • Visibility Sequence
      • Voxelize
    • Utilities
      • Animation Control
      • Apply Font Size
      • Array Manipulator
      • Asset Array
      • Bounding Box
      • Bounding Box Constraint
      • Color Array
      • Color Info
      • Composition Constraint
      • Component Constraint
      • Context Index
      • Falloff
      • Get Name
      • HSV Color
      • If Else
      • Index to Color
      • JS Math
      • Length Context
      • Local Time
      • Math
      • Math2
      • Math 3
      • Measure
      • Mesh Array
      • Null
      • Path Length
      • Regex
      • Rig Control
      • Sequence
      • Shader Array
      • Spreadsheet
      • Spreadsheet Lookup
      • String
      • String Array
      • String Generator
        • Formatted String Generator
        • Hash Generator
        • Hexadecimal Generator
        • Random Date Generator
        • Random Number Generator
        • Timecode Generator
        • Value Generator
      • String Length
      • String Manipulator
        • Change String Case Manipulator
        • Join String Manipulator
        • Replace String Manipulator
        • Regex String Manipulator
        • Resize String Manipulator
        • Shuffle String Manipulator
        • Sub-String Manipulator
        • Transition String Maniplulator
      • Transform Constraint
      • Typeface
      • Typeface Array
      • Value Array
      • Value 2 Array
      • Value 2 Array
      • Velocity Context
      • Velocity Magnitude Context
    • Effects
      • Blur
      • Color Shader
      • Drop Shadow
      • Fill
      • Gradient Shader
      • Image Shader
      • Invert
      • Levels
      • Linear Wipe
      • Mask Blur
      • Noise Shader
      • Radial Wipe
      • SkSL Shader
      • Shape to Shader
      • Tri Tone
      • Venetian Blinds
  • Tips
    • Shortcuts
  • Applications
    • Cavalry Player
    • Cavalry CLI
  • Technical Information
    • Licencing
    • Logs
    • Mathematical Expressions
    • Release Notes
      • 1.1.1 Release Notes
      • 1.1 Release Notes
      • 1.0.3 Release Notes
      • 1.0.2 Release Notes
      • 1.0.1 Release Notes
    • User Preferences
Powered by GitBook
On this page
  • Tokens
  • Custom Time Formats

Was this helpful?

  1. User Interface
  2. Menus
  3. Window menu
  4. Render Manager

Render Tokens

Add tokens to automate file names.

PreviousDynamic RenderingNextScene Window

Last updated 4 years ago

Was this helpful?

Render tokens can be added to the File Name attribute in the and used to automate the file names of renders.

To add a Render Token simply right click in the File Name input and select one from the drop down menu. Each token will appear between angle brackets e.g. <token> and be highlighted. Alternatively you can add tokens by manually typing them. If you accidentally manually enter an invalid token it will be highlighted red and not be used.

Tokens

  • Composition - <Composition> the name of the composition.

  • Scene - <Scene> the name of your scene (e.g. name.cv)

  • Project - <Project> the name of your Project. You must have a project set in for this to work.

  • Frame Number - <Frame> the frame

  • Resolution - <Resolution> the

  • FPS - <FPS> the FPS (frames per second) of the Composition.

  • Render Format - <Format> the format (.png, .jpg, .mov etc).

  • Dynamic Index - <Dynamic> outputs the Dynamic Index for each .

  • Date and Time -

    • Day (Name) - <D> e.g. if the current day is Monday the token would output Monday.

    • Day of the Month (Number) - <DD> e.g. if the current date is 11th August the token would output 11.

    • Month (Number) - <MM> e.g. if the current date is 11th August the token would output 8.

    • Month (Name) - <M> e.g. if the current date is 11th August the token would return August

    • Month (Short Name) - <m> e.g. if the current date is 11th August the token would return Aug.

    • Year (YYYY) - <YYYY> e.g. if the current year is 2020 the token would output 2020.

    • Year (YY) - <YY> e.g. if the current year is 2020 the token would output 20.

    • Time (HH:MM) - <T> e.g. if the current time is 5:15pm the token would output 17:15.

    • Time Zone - <TZ> e.g. if you are in Manchester, UK the token would output GMT.

    • Weekday-Day-Month - <d>-<DD>-<m> e.g. if the current date is 11th August, 2020 the token would output Tue-11-August.

A <token> will be used in place of rather than in addition to any automatically generated value (like the frame number or dynamic index). e.g.

  • A File Name of 'Composition' with Padding set to 3 would output Composition.000.png

  • A File Name of 'Composition.<Frame>' with Padding set to 3 would also output Composition.000.png and not Composition.000.000.png.

Custom Time Formats

It's also possible to create custom time formats. For example <%Y> or <%H:%M> or <%B-%Y>.

Syntax

%Y - writes year as a decimal number, e.g. 2017
%y - writes last 2 digits of year as a decimal number (range [00,99])
%b - writes abbreviated month name, e.g. Oct
%B - writes full month name, e.g. October
%m - writes month as a decimal number (range [01,12])
%V - **(C++11)**writes ISO 8601 week of the year (range [01,53]). In IS0 8601 weeks begin with Monday
%j - writes day of the year as a decimal number (range [001,366])
%d - writes day of the month as a decimal number (range [01,31])
%a - writes abbreviated weekday name, e.g. Fri
%A - writes full weekday name, e.g. Friday
%u - writes weekday as a decimal number, where Monday is 1 (ISO 8601 format)
%H - writes hour as a decimal number, 24 hour clock (range [00-23])
%I - writes hour as a decimal number, 12 hour clock (range [01,12])
%M - writes minute as a decimal number (range [00,59])
%S - writes second as a decimal number (range [00,60])
%c - writes standard date and time string, e.g. Sun Oct 17 04:41:13 2010
%X - writes localised time representation, e.g. 18:40:20 or 6:40:20 PM
%D - equivalent to %m/%d/%y
%F - equivalent to %Y-%m-%d (the ISO 8601 date format)
%r - writes localised 12-hour clock time
%R - equivalent to %H:%M
%T - equivalent to %H:%M:%S (the ISO 8601 time format)
%p - writes localised a.m. or p.m.
%z - writes offset from UTC in the ISO 8601 format (e.g. -0430)
%Z - writes locale-dependent time zone name or abbreviation e.g BST.
Render Manager
Project Settings
dynamic render