I have a validation script that automatically runs when someone exports a file that looks at every object and makes sure it follows specific naming conventions and other sanity checks.
However, I only really care about validating objects that are being exported. If an artist is only exporting their selected objects I don’t really want to spit out warnings about other irrelevant objects in the file if I don’t have to.
I’m using callbacks.addScript #postExport to link the script, but I don’t see anyway of determining what objects are actually being exported or what export setting is being used. Has anyone ever done this or know of a workaround? Thanks!

