OMC::BezierColumnValue Class Reference

Detailed Description

The value provided by a BezierColumn when accessed as a list, or iterated.

This object provides the value of a Bezier Column when accessed as a list. Print Column Values

from ToonBoom import harmony #Import the Harmony Module
sess = harmony.session() #Get access to the Harmony session, this class.
proj = sess.project #Get the active session's currently loaded project.
scene = proj.scene #Get the top scene in the project.
columns = scene.columns #The overall node list of the scene.
bez_col = columns["BEZIER_COLUMN_NAME"]
at_frame = 1
col_frame_val = bez_col[at_frame] #Accessing as a list using 'at_frame'
print( "Value at frame %s : %s"%(col_frame_val.frame, col_frame_val.value) )

Public Attributes

double frame
 The frame for which this object provides a value.
 
double value
 The value at the given frame.
 
bool key
 True if the given frame is a keyframe on the Bezier column.
 
bool const_segment
 True to indicate that the point is on a constant segment, or false to indicate that the point is not on a constant segment.
 
QString continuity
 The continuity of the curve that follows the point. One of the following values will be returned, in upper-case: SMOOTH, CORNER or STRAIGHT.
 
double handle_left_x
 The X value of the left handle of a point on the column.
 
double handle_left_y
 The Y value of the left handle of a point on the column.
 
double handle_right_x
 The X value of the right handle of a point on the column.
 
double handle_right_y
 The Y value of the right handle of a point on the column.
 
BezierColumnValuekeyframe_previous
 The previous frame at which there is a keyframe present, this frame value object if its currently a keyframe.
 
BezierColumnValuekeyframe_next
 The next frame at which there is a keyframe present. If none are present, returns none.
 
Inheritance diagram for OMC::BezierColumnValue:
Collaboration diagram for OMC::BezierColumnValue: