nuke.FrameRanges

class nuke.FrameRanges

Bases: object

A sequence of FrameRange objects with convenience functions for iterating over all frames in all ranges.

Methods

add

add a new frame range.

clear

reset all store frame ranges.

compact

compact all the frame ranges.

getRange

return a range from the list

maxFrame

get maximun frame of all ranges.

minFrame

get minimun frame of all ranges.

size

return the ranges number.

toFrameList

return a list of frames in a vector

add(r) None

add a new frame range.

clear() None

reset all store frame ranges.

compact() None

compact all the frame ranges.

getRange() FrameRange

return a range from the list

maxFrame() int

get maximun frame of all ranges.

minFrame() int

get minimun frame of all ranges.

size() int

return the ranges number.

toFrameList() [int]

return a list of frames in a vector