Trace window¶
The Allplan trace windows is a useful tool for the PythonPart development and it is recommended to enable it during the PythonPart development.
When an error occurs in the Python script, it is reported in the trace window. In addition, a lot of information reported by the PythonParts framework is displayed. The PythonPart SetTraceLevel, found in …PythonPartsExamples\ToolsAndStartExamples, can be used to set the trace level.
If a crash ocurred during the execution of a PythonPart, the trace output should be changed to “File”. All trace output is now written to the file allplan_python.out, which is located in the TMP directory of Allplan.