mode to HOLD for all timelines in all project clips after work

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
Animationriver
Posts: 263
Joined: 02 Jul 2017, 09:04
Location: Moscow
Contact:

mode to HOLD for all timelines in all project clips after work

Post by Animationriver »

ENG. :D
Hello, I work in TVPaint almost every day, and I have a new question. Could you help me solve it with your superpowers? I'll briefly describe the situation. :D

I create storyboards consisting of clips, for example, 100 clips, and I start adjusting the timing in each clip to create an animatic. Often, I encounter a problem: the red marker (MARK OUT) appears on frame 223 (for example), but the image strip ends at frame 219 (for example). Additionally, there is a timeline mode called "End" (NON) or "Hold." In my case, after working with different clips, some timelines have the mode set to NON at the end of the clip, while others are set to HOLD.

When I want to review the timing, I press (PLAY — SHIFT + V). During playback, I notice a white gap between frames 219 and 223 (for example). This is very annoying. And since there are many clips — my work involves processing a large number of them simultaneously. Manually changing all these clips from NON mode to HOLD is very tedious and frustrating.

My question: can you create a button or script that 1) sets the end mode to HOLD for all timelines in all project clips? 2) sets the end mode to HOLD for all timelines in selected clips.
I am struggling a lot. Can you help me with this???

p.s. I know that this can be set in the preferences. That option exists. But what’s important to me is to have all timelines set to HOLD everywhere after I make my adjustments to these modes.
:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D
France. :D
Bonjour, je travaille dans TVPaint presque tous les jours, et j'ai une nouvelle question. Pourriez-vous m'aider à la résoudre avec vos super-pouvoirs ? Je vais brièvement décrire la situation. :D

Je crée des storyboards composés de clips, par exemple 100 clips, et je commence à ajuster le timing dans chaque clip pour créer un animatique. Souvent, je rencontre un problème : le marqueur rouge (MARK OUT) apparaît sur la frame 223 (par exemple), mais la bande d'images se termine à la frame 219 (par exemple). De plus, il existe un mode de timeline appelé « Fin » (NON) ou « Maintien » (HOLD). Dans mon cas, après avoir travaillé avec différents clips, certains timelines ont leur mode réglé sur NON à la fin du clip, tandis que d'autres sont en HOLD.

Lorsque je souhaite vérifier le timing, j'appuie sur (PLAY — SHIFT + V). Pendant la lecture, je remarque un espace blanc entre les frames 219 et 223 (par exemple). C'est très agaçant. Et comme il y a beaucoup de clips — mon travail consiste à traiter un grand nombre d'entre eux simultanément. Changer manuellement tous ces clips du mode NON au mode HOLD est très fatigant et frustrant.

Ma question : pouvez-vous créer un bouton ou un script qui 1) règle le mode de fin sur HOLD pour toutes les timelines dans tous les clips du projet ? 2) qui règle le mode de fin sur HOLD pour toutes les timelines dans tous les clips sélectionnés ?
Je suis vraiment en difficulté. Pouvez-vous m'aider ? :D

p.s. Je sais que cela peut être réglé dans les préférences. Cette option existe. Mais ce qui est important pour moi, c'est que toutes les timelines soient en mode HOLD partout après que j'ai effectué mes manipulations avec ces modes.
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
User avatar
Animationriver
Posts: 263
Joined: 02 Jul 2017, 09:04
Location: Moscow
Contact:

Re: mode to HOLD for all timelines in all project clips after work

Post by Animationriver »

I really need help with this issue. Could you please advise whether I should wait? Or is this an unsolvable problem? Thank you for your responsiveness :D


Animationriver wrote: 18 May 2025, 13:26 ENG. :D
Hello, I work in TVPaint almost every day, and I have a new question. Could you help me solve it with your superpowers? I'll briefly describe the situation. :D

I create storyboards consisting of clips, for example, 100 clips, and I start adjusting the timing in each clip to create an animatic. Often, I encounter a problem: the red marker (MARK OUT) appears on frame 223 (for example), but the image strip ends at frame 219 (for example). Additionally, there is a timeline mode called "End" (NON) or "Hold." In my case, after working with different clips, some timelines have the mode set to NON at the end of the clip, while others are set to HOLD.

When I want to review the timing, I press (PLAY — SHIFT + V). During playback, I notice a white gap between frames 219 and 223 (for example). This is very annoying. And since there are many clips — my work involves processing a large number of them simultaneously. Manually changing all these clips from NON mode to HOLD is very tedious and frustrating.

My question: can you create a button or script that 1) sets the end mode to HOLD for all timelines in all project clips? 2) sets the end mode to HOLD for all timelines in selected clips.
I am struggling a lot. Can you help me with this???

p.s. I know that this can be set in the preferences. That option exists. But what’s important to me is to have all timelines set to HOLD everywhere after I make my adjustments to these modes.
:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D
France. :D
Bonjour, je travaille dans TVPaint presque tous les jours, et j'ai une nouvelle question. Pourriez-vous m'aider à la résoudre avec vos super-pouvoirs ? Je vais brièvement décrire la situation. :D

Je crée des storyboards composés de clips, par exemple 100 clips, et je commence à ajuster le timing dans chaque clip pour créer un animatique. Souvent, je rencontre un problème : le marqueur rouge (MARK OUT) apparaît sur la frame 223 (par exemple), mais la bande d'images se termine à la frame 219 (par exemple). De plus, il existe un mode de timeline appelé « Fin » (NON) ou « Maintien » (HOLD). Dans mon cas, après avoir travaillé avec différents clips, certains timelines ont leur mode réglé sur NON à la fin du clip, tandis que d'autres sont en HOLD.

Lorsque je souhaite vérifier le timing, j'appuie sur (PLAY — SHIFT + V). Pendant la lecture, je remarque un espace blanc entre les frames 219 et 223 (par exemple). C'est très agaçant. Et comme il y a beaucoup de clips — mon travail consiste à traiter un grand nombre d'entre eux simultanément. Changer manuellement tous ces clips du mode NON au mode HOLD est très fatigant et frustrant.

Ma question : pouvez-vous créer un bouton ou un script qui 1) règle le mode de fin sur HOLD pour toutes les timelines dans tous les clips du projet ? 2) qui règle le mode de fin sur HOLD pour toutes les timelines dans tous les clips sélectionnés ?
Je suis vraiment en difficulté. Pouvez-vous m'aider ? :D

p.s. Je sais que cela peut être réglé dans les préférences. Cette option existe. Mais ce qui est important pour moi, c'est que toutes les timelines soient en mode HOLD partout après que j'ai effectué mes manipulations avec ces modes.
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
User avatar
Animationriver
Posts: 263
Joined: 02 Jul 2017, 09:04
Location: Moscow
Contact:

Re: mode to HOLD for all timelines in all project clips after work

Post by Animationriver »

I created this code with the help of GPT chat. But it doesn't work. I don't know why.

# Get the current selected layer
set layerID [tv_layer_getSelectedID]

# Check the current layer mode
set currentMode [tv_layer_getMode $layerID]

# If mode is NON, switch to HOLD
if { $currentMode eq "NON" } {
tv_layer_setMode $layerID "HOLD"
puts "Layer mode switched from NON to HOLD."
} else {
puts "Current layer mode: $currentMode. No switch needed."
}
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
Post Reply