Show/Hide Toolbars

Clarisse 4.0 User Guide

In Clarisse, global variables can be defined from the command-line environment (System variables), built-in values from Clarisse like $T, $F, $PDIR, … (Built-in variables) or user-defined variables (Custom variables).

In Clarisse’s expression system, all global variables are automatically exposed as predefined variables to SeExpr scripts and they follow the same name as the global variable but without the $ symbol. For instance, the global time variable $T is exposed as T and is directly usable without any declaration.




fcurve(T)                               # Evaluates the f-curve at time $T and returns its value

frame = T * FPS;                        # Converts global time $T into frames using global variable $FPS

filename = PDIR + “”;     # Concatenate the project directory variable with “”


Note that assigning a value to a global variable is allowed but will only change its value locally. You can think of it like a local override of a global value. Example:

T = 2;                                  # Assuming global time $T = 0s, local T is now 2.


fcurve(T)                               # Evaluates the f-curve at time 2s and returns its value.

                                       # Note that the global time remains unchanged at 0s.


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