Session

From Silhouette Wiki
Revision as of 21:50, 20 November 2012 by Paul (talk | contribs) (Created page with "The Session object stores all the Nodes to create the output for a specific shot. ''Base Class: Object'' === Attributes === ''Attributes are read-only except w...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)
color the object Color - not all objects have a way of changing their color (read/write)
id the unique id as string
label the object label (read/write)
locked True if locked (read/write)
note the object note (read/write)
parent the parent Object, or None
properties the dictionary of Properties
selected True if selected
type the object type name
visible True if visible (read/write)

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)