Page 1 of 1

[DONE] Instance id and string

Posted: 22 Sep 2010, 05:28
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

Re: Instance id and string

Posted: 22 Sep 2010, 06:03
by Hervé
You can use image mark to set an id in a frame
tv_layermarkset layerID imageNumber ColorIndex
ColorIndex can be any number

Re: Instance id and string

Posted: 22 Sep 2010, 22:22
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?

Re: Instance id and string

Posted: 23 Jun 2011, 15:35
by Kwadrope
Could you elaborate?
As for now I do not see the benefit nor do I understand what you mean

Re: Instance id and string

Posted: 24 Jun 2011, 08:29
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