[DONE] Instance id and string

This section is dedicated to the feature & improvement requests (be sure what you are asking does not exist yet in TVPaint Animation ;) )
Post Reply
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18
Location: Viborg,Denmark
Contact:

[DONE] Instance id and string

Post by Mads Juul »

Could be cool if the instances had id and you could read write information to them like

tv_getInstanceString layerId iPosition
id = result
tv_ReadInstanceString id
tv_WriteInstanceString id

should be Projekt dependable.
-Mads
Last edited by Mads Juul on 07 Oct 2014, 06:37, edited 1 time in total.
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: Instance id and string

Post by Hervé »

You can use image mark to set an id in a frame
tv_layermarkset layerID imageNumber ColorIndex
ColorIndex can be any number
Hervé ADAM, TVPaint Team
User avatar
malcooning
Posts: 2114
Joined: 29 Mar 2006, 12:43
Location: Tel Aviv
Contact:

Re: Instance id and string

Post by malcooning »

Instance IDs would open up a whole new way of utilizing the timeline. It will allow coloring instances in different image mark colors like keyframes, extremes etc.), shouldn't it?
Kwadrope
Posts: 58
Joined: 11 Nov 2010, 18:25

Re: Instance id and string

Post by Kwadrope »

Could you elaborate?
As for now I do not see the benefit nor do I understand what you mean
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18
Location: Viborg,Denmark
Contact:

Re: Instance id and string

Post by Mads Juul »

When using scripting with TVPaints scripting languange George. Each layers have a specific id a number that makes it easier to detect each layer. I thought if ecah instance had an ID it would make the scriting easier. As Herve had proposed I can optain this effect with the imagemarks. Now almost a half year after the request I can see a havn't used HErves Suggestion so I guess it was a poor requst after all.
-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
Post Reply