Dear All,
would You point me how to get Text Position, Anchor, text(preset) animation under control?
I am sharing my text-position/anchor idea below (sorry for VEGASPython but I love it.):
for track in pyVEGAS.Project.Tracks:
if (track.IsVideo()):
for evnt in track.Events:
if(evnt.ActiveTake and evnt.ActiveTake.Media.IsGenerated()):
if(evnt.ActiveTake.Media.Generator.PlugIn.IsOFX):
if(evnt.ActiveTake.Media.Generator.PlugIn.UniqueID == "{Svfx:com.vegascreativesoftware:titlesandtext}"):
OFX = evnt.ActiveTake.Media.Generator.OFXEffect
param = OFX.FindParameterByName("Text")
winRtf = System.Windows.Forms.RichTextBox()
winRtf.Rtf = param.Value
print("Plain text: ", winRtf.Text)
print("Form Height: ", winRtf.Height)
print("Form Width: ", winRtf.Width) # Some relation to string.Length?
print("Form Client Height: ", winRtf.ClientSize.Height)
print("Form Client Width: ", winRtf.ClientSize.Width) # Some relation to string.Length?
# DOES NOT UPDATE WHEN CHANGED VIA OFX.AllParametersChanged()?
# Ie: BottomLeft = 6 (Bottom 2 Left 4 None 0 Right 8 Top 1 )
print("Form Anchor: ", winRtf.Anchor)
# DOES NOT UPDATE WHEN CHANGED VIA OFX.AllParametersChanged()?
print("Form Location: ", winRtf.Location) # result = 0,0
OFX.AllParametersChanged()
I am totally out to get the text animation under control...So one can solve issues mentioned (cadudesu:Titles & Text: Several Vegas 18 new presets are buggy) by oneself.
Thank you.
Stay Alive, Life is Good ;-)
Jan