Explain tv_clipenumid

A forum dedicated to George scripting questions
Post Reply
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18
Location: Viborg,Denmark
Contact:

Explain tv_clipenumid

Post by Mads Juul »

In the SDK it says

Code: Select all

tv_clipenumid ShotID/0 ClipPosition
But I use -1 as the first parameter I can get the clip Id of a clip at at position
tv_clipenumid -1 2
Get the id of clip 3 as expected.
So What is ShotId?

and why /0 shouldn't it be /-1?
-Mads
Mads Juul
Storyboard Artist
blog: http://mjstoryboard.blogspot.dk/
Mail: mjstoryboard@gmail .com

Windows 10, 64 bit i7-4790 CPU 4.00 Hz,32 GB RAM, With TVP Animation 11 Pro (11.0.2-64bits)
2 Monitors 1920X1080 pixels + 1 Wacom Cintiq 21UX 2
User avatar
Hervé
Site Admin
Posts: 3490
Joined: 08 Feb 2006, 17:00
Location: Metz France
Contact:

Re: Explain tv_clipenumid

Post by Hervé »

madsjuul wrote:In the SDK it says

Code: Select all

tv_clipenumid ShotID/0 ClipPosition
But I use -1 as the first parameter I can get the clip Id of a clip at at position
tv_clipenumid -1 2
Get the id of clip 3 as expected.
So What is ShotId?

and why /0 shouldn't it be /-1?
-Mads
"Shot" is the internal name of "scene".

with ShotID = -1 It enumerate all clips in all scene.
with ShotID = 0 it enumerate all clips in the current scene.
Hervé ADAM, TVPaint Team
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18
Location: Viborg,Denmark
Contact:

Re: Explain tv_clipenumid

Post by Mads Juul »

thank you
Mads Juul
Storyboard Artist
blog: http://mjstoryboard.blogspot.dk/
Mail: mjstoryboard@gmail .com

Windows 10, 64 bit i7-4790 CPU 4.00 Hz,32 GB RAM, With TVP Animation 11 Pro (11.0.2-64bits)
2 Monitors 1920X1080 pixels + 1 Wacom Cintiq 21UX 2
Post Reply