Shot

class odin.source.core.shot.Shot(parent, name=None, data=None)

Shot object.

Usage:

shot = Shot.new(Sequence, ‘NAME’)

shot = Shot.load(Sequence, ‘NAME’)

Parameters
  • name (str) – name of the loaded shot

  • parent (Sequence) –

  • data (Optional[Dict[str]]) –

Return type

None

static list(parent)

List the shots found in the given sequence.

Parameters

parent (Sequence) – Sequence object

Return type

List[str]

Returns

List of the shots

classmethod load(parent, name)

Load an existing shot.

Parameters
  • parent (Sequence) – Sequence that contain the shot

  • name (str) – Name of the shot to load

Return type

Shot

Returns

Shot object

property name
Return type

str

classmethod new(parent, name)

Create a new shot.

Parameters
  • parent (Sequence) – Sequence to put the shot in

  • name (str) – Name of the shot

Return type

Shot

Returns

Shot object

property parent
Return type

Sequence

property paths
Return type

dict