/
getTimeBoxTime
getTimeBoxTime
Description
Gets the time value of the time box user control specified by userControlID
.
The return value is in frames, regardless of the time display style setting in the Preferences.
Functional area
User Window
Command syntax
Syntax
getTimeBoxTime userControlID |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
userControlId | int | yes | ID of user control to operate on. |
Flags
None
Return value
integer
Examples
// Get the time value of a Time Box User Control int $windowId; int $controlId; int $time; // First create a User Window to place the Controls on $windowId = `createWindow "MyWindow"`; // Create the User Control on the Window. $controlId = `createTimeBox $windowId`; // Set the time to some arbitrary frame setTimeBoxTime $controlId 125; // Get the time we just set $time = `getTimeBoxTime $controlId`; print $time;
Additional information
Related commands
, multiple selections available,