emat/model/core_files/gbnrtc_model.py
def start_transcad(self):
        """
        Launch TransCAD and call methods to reset scenario
        """
        # wack transCAD if it is open (cannot restart model)
        _logger.warn("[(re)starting TransCAD instances]")
        os.system("TASKKILL /F /IM tcw.exe")
        time.sleep(10)
        os.startfile(self.tc_ver_path + 'tcw.exe')
        time.sleep(20)

        self.tc = cp.Gisdk(
            "TransCAD",
            log_file=self.model_path + "TC_log.txt",
            search_path=self.tc_ver_path)
        
        if self.tc is None:
            _logger.error("ERROR: failed to attach to a TransCAD instance")
            sys.exit()

        Launch TransCAD and call methods to reset scenario
        
Launch TransCAD and call methods to reset scenario
Launch TransCAD and call methods to reset scenario
def start_transcad(self):
        _logger.warn("[(re)starting TransCAD instances]")
        os.system("TASKKILL /F /IM tcw.exe")
        time.sleep(10)
        os.startfile(self.tc_ver_path + 'tcw.exe')
        time.sleep(20)
        self.tc = cp.Gisdk(
            "TransCAD",
            log_file=self.model_path + "TC_log.txt",
            search_path=self.tc_ver_path)
        if self.tc is None:
            _logger.error("ERROR: failed to attach to a TransCAD instance")
            sys.exit()
def start_transcad ( self ) : _logger . warn ( "[(re)starting TransCAD instances]" ) os . system ( "TASKKILL /F /IM tcw.exe" ) time . sleep ( 10 ) os . startfile ( self . tc_ver_path + 'tcw.exe' ) time . sleep ( 20 ) self . tc = cp . Gisdk ( "TransCAD" , log_file = self . model_path + "TC_log.txt" , search_path = self . tc_ver_path ) if self . tc is None : _logger . error ( "ERROR: failed to attach to a TransCAD instance" ) sys . exit ( )
Launch TransCAD and call methods to reset scenario
Launch TransCAD and call methods to reset scenario
"""
        Launch TransCAD and call methods to reset scenario
        """ # wack transCAD if it is open (cannot restart model)
self