This information is for Vicon Shogun 1.7. For up-to-date help, see the latest Shogun documentation.

Vicon Shogun banner

Description

Returns an array of integer pairs indicating the current group of selected time ranges.

Use getSelectedTimeRanges when you need to know the details regarding the current in/out time selections in your scene.

Functional area

Data retrieval

Command syntax

Syntax

getSelectedTimeRanges [-noFeedback]

Arguments

None

Flags

NameFlag argumentsArgument typeExclusive toComments
noFeedback0

Return value

integer array

Returns an array of integer pairs indicating the current group of selected time ranges.

Examples

int $fSTR[]; 
$fSTR =`getSelectedTimeRanges`;
int $i;
int $j = 1;
print "Ranges:";
for( $i = 0;
$i < (getCount($fSTR));
$i += 2 )
{
print $j;
$j += 1;
print( "in frame " + string ($fSTR [$i] ));
print( "out frame " + string($fSTR [$i + 1]));
print " ";
}
// Print a list representing the set of currently selected time ranges.
// The list will consist of integers, two elements for each selected
// time range found.

Additional information

Related commands