AnsweredAssumed Answered

Close files which are open in SW using dispatch

Question asked by Wayne Easton on Mar 7, 2016
Latest reply on Oct 14, 2019 by Alex Alex

I have a dispatch which updates the file/s PartNo variable. The dispatch is triggered using a state change (Submit for drawing review). This all works well when making the state change from inside EPDM with none of the files open in Solidworks. The issue comes up if a user has the file/s open in Solidworks and chooses the state change from the EPDM tab inside Solidworks. Due to the fact that the file/s is open in Solidworks, the dispatch cannot run.


Is there any way in which as the dispatch runs, it first closes the file/s which are open in Solidworks and then continues with the rest of the dispatch action?