Show/Hide Toolbars

Clarisse 4.0 User Guide

To use a variable in an attribute value, simply insert its name in the string of the text field. The expression system uses separator characters to read the variable names from the expression. Any character that is not a separator is considered valid to be used to name a variable. All supported separator characters are listed below:


/ ? , . < > ' " ; : [ ] { } \ | = ( ) * & ^ % $ # @ ! ` ~



Separators marks automatically the end of a variable name.


Naming Limitations


Variables have the following naming limitations:

  • they can't start with a digit
  • they support only underscore and alphanumeric characters


For example FIRST_JOB is a valid variable name whereas 1ST_JOB is invalid.


Working with Strings/Filenames


The : separator is extremely useful when working with strings or filenames. You must use it when you have to mark the end of the variable name to remove any unambiguity. Just consider the following filename




If we want to use the $F variable to automatically generate the frame number we would naively write:




However, here that wouldn't work. Clarisse would fail to recognize $F and consider instead the undefined variable:




Indeed, there's no way for Clarisse to know that the input variable is indeed $F instead of $F_final as the later is also a perfectly valid variable name. To resolve this issue, you can use the : seperator to tell Clarisse where the variable ends.




Copyright (C) 2009-2019 Isotropix. All rights reserved.