py file¶
In the file xxx.py the Python script for the execution of the PythonPart is defined. At least this file must be present, but the final source code can also be split into several files.
The xxx.py file must be located in one of the following Allplan folders
…\std\PythonPartsScripts\…
…\prj\PythonPartsScripts\…
…\usr\PythonPartsScripts\…
It is recommended to use the same subfolder structure that is used for the xxx.pyp file, e.g.
…\std\Library\PythonParts\Geometry\xxx.pyp
…\std\PythonPartsScripts\Geometry\xxx.py
Do not use the Allplan folder …\etc\PythonPartsScripts\… This folder is owned by Allplan and subdirectories and files can be deleted and moved!