Interval Values

Value > Time Data Values > Interval Values

 

   

Values and Collections - Quick Navigation

An Interval class represents an interval of time.

It has two time value components, start and end.

The start and end values can be numbers or Time values, numbers being interpreted as frame counts.

   

Constructor

interval <start_time> <end_time>

Construct a new interval value from start and end values.

   

Properties

<interval>.start : Time

Get/set the start value of the interval.

   

<interval>.end : Time

Get/set the end value of the interval.

   

EXAMPLES

t = animationRange.start + 5
orig_anim_range=animationRange -- store original animation range
animationRange=interval 0 100000 -- set real long animation range
-- assign script controller, controllers range is the current
-- animation range
ControlObj.scale.controller=scale_script()
-- assign a script to the controller
ControlObj.scale.controller.script = controlscript
-- reset animationRange back to original value
animationRange=orig_anim_range

Some of the examples above refer to system global variables.

See 3ds MaxSystem Globals for more details.