It would be very useful to take a look at the SMTD Log from such a submission!
When an XRefs record is disabled, SMTD now has code to remove it from the submitted file, and there is a log line for the cases where it succeeded or failed to remove it. I would like to see if the deleting actually works.
However, due to an Autodesk bug, in order to remove an XRef record, that record must be enabled first. So SMTD enables the record, tries to remove it, and if it fails, it prints a log line that it failed, but it actually leaves it enabled, which sounds like a bad idea to me (and is totally my fault). I wonder if in your case the call to objXRefMgr.RemoveRecordFromScene() fails, but then the XRef record goes to Deadline as enabled…
You could fix that case by locating the following code block in “SubmitMaxToDeadline_Functions.ms”, and modifying it slightly:
else --if disabled, remove the record to avoid surprises at render time
(
theRecord.enabled = true --have to enable it before removing?! WTF Autodesk?
local result = objXRefMgr.RemoveRecordFromScene theRecord --remove disabled record
if result == true then
(
try(SMTD_MainRollout.Ui_report ("+Removed Disabled XRef Object Record "+ i as string + " ["+ theSourceFileName+"]") )catch()
)
else
(
try(SMTD_MainRollout.Ui_report ("--FAILED to Remove Disabled XRef Object Record "+ i as string + " ["+ theSourceFileName+"]") )catch()
SMTDSettings.nonFatalErrorsCount+=1
theRecord.enabled = false --> NEW LINE - removing failed, disable it again!
)
)