Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Scroll tablelayout
sortDirectionASC
repeatTableHeadersdefaultstyle
widths20%, 15%, 14%, 13%, 38%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

NameFlag argumentsArgument typeExclusive toComments
selectGapRange2integerSelects the time range (including leading and trailing frames expressed as integers) of the gap when a gap is found.
b0Searches for gaps backward in time.
frameGraph0Frames the gap in a third the width of the graphView
firstFrame0Goes to the first frame of the gap, in the direction that it is searching
any0Query channels independently. With this option Shogun Post will find gaps on independent channels. E.g. Translation X only. Default is to only find gaps if there are gaps on all three channels.
ranges0Will search selected time ranges, instead of play range
primaryOnly0Causes it to only search for a gap on the primary selected node.
noFeedback0Prevents command from printing to the command log.
rot0Find gaps on rotations channels
noLoop0

Return value

integer array array

Examples

Code Block
languagetext
findGap -b -select 5 3;

...


selectKeys -ranges;

...


// This example selects the time range of the gap immediately 

...

// preceding the current frame, 5 frames before the gap, and 

...

// 3 frames after the gap will be added to the time range.

...


// Then, all of the keys within the selected time range will also

...


// be selected.

...


// Print the gap range of selected Marker 

...

//

...


//select a Marker

...


int $i[] = `findGap`;

...


print $i[0] ;

...


print $i[1] ;

Scroll pagebreak

Additional information

...