# IRiAnimPref Interface Reference

Inherits IDispatch.

List of all members.

## Properties
VARIANT * | PlayRangeStart`[get]`
VARIANT | PlayRangeStart`[set]`
VARIANT * | PlayRangeEnd`[get]`
VARIANT | PlayRangeEnd`[set]`

## Detailed Description

The IRiAnimPref interface provides functionality to access the preferences of animation, play ranges
Root-level name in the scripting engine's name space: RsAnimPref

## Property Documentation

VARIANT* IRiAnimPref::PlayRangeStart`[get]`

Get the start frame of Play range interval

Returns:
  ptStartFrame [out, retval] Returns the start frame of play range interval.

        var sFrame = RsAnimPref.PlayRangeStart;

VARIANT IRiAnimPref::PlayRangeStart`[set]`

Set the new start frame for Play Range.

Returns:
  tStartFrame [in] new value for start frame of play range interval.

        RsAnimPref.PlayRangeStart = 20;

VARIANT* IRiAnimPref::PlayRangeEnd`[get]`

Get the end frame of Play range interval

Returns:
  ptEndFrame [out, retval] Returns the end frame of play range interval.

        var sFrame = RsAnimPref.PlayRangeEnd;

VARIANT IRiAnimPref::PlayRangeEnd`[set]`

Set the new end frame for Play Range.

Returns:
  tEndFrame [in] new value for end frame of play range interval.

        RsAnimPref.PlayRangeEnd = 250;