## Timeline Attributes

### Introduced

v7.0

View attributes for the Timeline. These attributes are only available for the View.SetAttributeValue method (View.GetAttributeValue is not supported).

Note | See ViewAttributes for a complete list of types of attributes that you can use when customizing your Relational Views.

Attribute Name | Description | Supports
--- | --- | ---
type | Mandatory (timeline will not display any data if you do not set this attribute). Enables the start and end frames in the timeline. Only one value is supported which sets the start and end frames to match the In and Out values from the PlayControl options.
Possible Values: | Description:
global | Uses the PlayControl in and out values.
| View.SetAttributeValue only.
dopesheet | Sets whether or not to display dopesheet keys in the timeline. If this attribute is set after the object with keys has been selected, you need to deselect and reselect that object before the keys appear.
Possible Values: | Description:
true | Display keys
false | Hide keys (default)
| View.SetAttributeValue only.
margins | Sets the sizes of the start and end frames boxes in the timeline. This is useful when you have multiple animation views driven by the same timeline. In that case, you might want to have a bigger margin to work with the fact that one of those views might have more content to the left or right side of the drawing surface itself.
Possible Values: | Description:
<left>,<right> | Left and right positions separated by a comma.
| View.SetAttributeValue only.