I have created a custom model. When this model is run, it shows a process dialog which has some log information. I want to write that log information into the text file for further analysis.
Does anyone know how can I do this?
I have created a custom model. When this model is run, it shows a process dialog which has some log information. I want to write that log information into the text file for further analysis.
Does anyone know how can I do this?
That log file information can be enabled and is written out to History log file. I would recommend exporting your model as a python script. You can then open up the .py file in any text editor to execute your text file writing/logging while the script is running. Alternatively, using python you can read through the history log file and pull out what you want.
Check out this link for reading and writing to text files: