emat/model/core_files/gbnrtc_model.py
def __set_simple_evar(self, macro, evar, exp_var):       
        ''' call TransCAD macro and return variable to completed list'''
        self.tc.RunMacro("G30 File Close All", self.exp_param_ui)  
        ret = self.tc.RunMacro(macro, 
                               self.exp_param_ui, 
                               self.mod_path_tc,
                               float(exp_var[evar]))
        if ret != 0:
            raise SystemError("Error {2} in setting {0} to {1}" 
                              .format(evar, exp_var[evar], ret)) 
        return [evar]
 call TransCAD macro and return variable to completed list
call TransCAD macro and return variable to completed list
call TransCAD macro and return variable to completed list
def __set_simple_evar(self, macro, evar, exp_var):       
        self.tc.RunMacro("G30 File Close All", self.exp_param_ui)  
        ret = self.tc.RunMacro(macro, 
                               self.exp_param_ui, 
                               self.mod_path_tc,
                               float(exp_var[evar]))
        if ret != 0:
            raise SystemError("Error {2} in setting {0} to {1}" 
                              .format(evar, exp_var[evar], ret)) 
        return [evar]
def __set_simple_evar ( self , macro , evar , exp_var ) : self . tc . RunMacro ( "G30 File Close All" , self . exp_param_ui ) ret = self . tc . RunMacro ( macro , self . exp_param_ui , self . mod_path_tc , float ( exp_var [ evar ] ) ) if ret != 0 : raise SystemError ( "Error {2} in setting {0} to {1}" . format ( evar , exp_var [ evar ] , ret ) ) return [ evar ]
call TransCAD macro and return variable to completed list
call TransCAD macro and return variable to completed list
''' call TransCAD macro and return variable to completed list'''
self
macro
evar
exp_var