Interactor PythonPart profiling with cProfileΒΆ
If the PythonPart is an Interactor PythonPart, the PythonParts framework offers the possibility to profile the source code which will be executed after a left mouse button click.
To do this, the Python package keyboard must be installed, which can be done with the help of the PythonPart InstallPythonPackage or by following steps below:
select Download files and download the package
unpack the files and copy the folder keyboard to the Allplan folder ..\Prg\Python\lib\site-packages
After the package is installed, profiling can be executed by pressing the ctrl key while clicking the left mouse button. The profiling is done by cProfile.