I was trying to add my first private sanity check to check if the vray VFB was enabled, and if it was to disable it. Now when I open the SMTD it gives me an error that it can’t load SubmitMaxToDeadline_SanityCheck_Private.ms
Failed to Load the file [SubmitMaxToDeadline_SanityCheck_Private.ms] from Deadline Repository. (error code 1025)
I don’t know if this is due to a malformed file? Here is my attempt:
(
global SMTD_Private_SanityCheckFunctions
global SMTD_Private_SanityChecksToPerform
global SMTD_Private_RepairFunctions
global SMTD_RepairFunctions
global SMTD_SanityChecksToPerform
global SMTD_SanityCheckFunctions
struct SMTD_Private_SanityCheckFunctions
(
fn CheckVrayVFB =
(
renderers.current.output_on == true
)
)--end struct
struct SMTD_Private_RepairFunctions
(
fn FixVrayVFB=
(
renderers.current.output_on = false
SMTD_SanityCheck_errorReportRollout.log_action "Fixed" (color 0 155 0) true "Vray VFB Disabled"
)
)--end struct
------------------------------------------------------------------------------------------------------------------------------------------------------
--SANITY CHECK PRIVATE DEFINITIONS
------------------------------------------------------------------------------------------------------------------------------------------------------
SMTD_Private_SanityChecksToPerform = #(
#(SMTD_Private_SanityCheckFunctions.CheckVrayVFB, #fix, "Vray VFB Enabled", SMTD_Private_RepairFunctions.FixVrayVFB=, true)
)--end checks array
)--End File