HI,
I have we write the script for the experimental purpose and to learn. from the below Tessera link from ross U. have done the same scripts and replicate the code on both said script events. but how ever its not working for me although its compiler is not showing any error. looking forward to se some help what i have missed in script.
https://www.rossvideo.com/resources/ross-university/xpression-tessera-one-tips-and-tricks
CODE Written as per video watching.
'file location
dim dirOBJ as xpTextObject
dim filepath as string
'file format
dim format as xpTextObject
'object/material/shader
dim obj as xpBaseObject
dim mat as xpMaterial
dim sha as xpBaseShader
'team code
dim code as xpTextObject
'************************************************************************
self.GetObjectByName("DIRECTORY", dirOBJ)
filepath = self.Project.ProjectPath & "images\logos\" & dirOBJ.Text & "\"
'set file format
self.GetObjectByName("FILE FORMAT", format)
'************************************
'start setting home materials
'************************************
'find home clubcode
self.GetObjectByName("H CLUBDODE", code)
'set home logo
self.GetObjectByName("H LOGO", obj)
obj.GetMaterial(0,mat)
mat.GetShader(0,sha)
sha.FileName = filepath + code.Text + "_Logo" + format.Text
'set home primary
self.GetObjectByName("H PRIMARY", obj)
obj.GetMaterial(0,mat)
mat.GetShader(0,sha)
sha.FileName = filepath + code.Text + "_Primary" + format.Text
'set home secondary
self.GetObjectByName("H SECONDARY", obj)
obj.GetMaterial(0,mat)
mat.GetShader(0,sha)
sha.FileName = filepath + code.Text + "_Secondary" + format.Text
-----------------------------------------------------------------------------------------------------------------------------

------------------------------
[Wajahat] [Ali] [Team Lead]
[RTG Designer]
[Hum News]
[Karachi/Islamabad] [Pakistan]
------------------------------