Using arithmetic operations in numeric and timecode fields

An operator is a symbol that represents a calculation or order of calculations. Operators typically perform arithmetic calculations, comparisons, and conditions such as addition (+), subtraction (-), multiplication (*), or division (/). Combinations of these operators are supported by numeric and timecode fields in MotionBuilder.

Numeric fields

The following operations are supported by numeric fields:

Operation

Description

+=(x)

Adds the (x) value to the current numeric value.

-=(x)

Subtracts the (x) value from the current numeric value.

*=(x)

Multiplies the (x) value by the current numeric value.

/=(x)

Divides the current numeric value by the (x) value.

++

Increases the current numeric value by 1.

--

Decreases the current numeric value by 1.

Timecode fields

The following operations are supported by timecode fields that are displayed as frames:

Operation

Description

+=(x)

Adds the (x) value to the current frame value.

-=(x)

Subtracts the (x) value from the current frame value.

*=(x)

Multiplies the (x) value by the current frame value.

/=(x)

Divides the current frame value by the (x) value.

++

Increases the current frame value by 1.

--

Decreases the current frame value by 1.

The following operations are supported by timecode fields that are displayed as timecode:

Operation

Description

+=(HH:MM:SS:FF)

Adds the (HH:MM:SS:FF) value to the current time value.

-=(HH:MM:SS:FF)

Subtracts the (HH:MM:SS:FF) value from the current time value.