I'm unable to save an assembly as a .stl file after running an interference check. This problem only exists in SW2020 API. The exact same code runs fine in SW2018 and SW2019.
Additionally, if you set make SOLIDWORKS visible when opening the SW object, then everything works file.
I've attached a simple c# console app project that shows the problem.
I've been trying to figure out the problem for a few weeks now, and finally found the interference check as the problem. My question is: Am I doing something wrong? or is this a problem introduced in SW2020?