Session

From Silhouette Wiki
Revision as of 21:54, 20 November 2012 by Paul (talk | contribs) (→‎Attributes)
Jump to navigation Jump to search

The Session object stores all the Nodes to create the output for a specific shot.

Base Class: Object

Attributes

Attributes are read-only except where noted.

Name Description
depth the session depth (read/write)
duration the duration in frames
frameRate the frame rate
nodes List of Nodes in the session
pixelAspect the pixel aspect
project the Project containing the session
renderInfo the rendering settings
size the size as a Tuple of (width, height)
startFrame the start frame number
workRange the current work range as a Tuple of (start_frame, end_frame)

Methods

Name Description
property(name) returns the Property with the property name, or None
clone() returns a deep clone of the object and children
getTransform(frame) returns the accumulated transform at the specified time. This is a convenience method only useful for Layers and their children.

Operators

Name Description
object[prop_id] the map operator can be used as shorthand for object.property(prop_id)