Support Forum

[Frage] Location of py file. [Gelöst]


Good morning guys,

Question regarding Python scripts location. Can we change the path of the py files???

Instead of being at “C:\ProgramData\Nemetschek\Allplan\2023\Etc\PythonPartsScripts” I would like to put them in the company server to be accessible to everyone.

<Script>
<Name>TestContent\AddingElement-Part02.py</Name>
...
</Script>

Thank you in advance!

Lösung anzeigen Lösung verbergen

Hi,

the py file must be in a PythonPartsScripts folder which can be :

...\std\PythonPartsScripts
...\prj\_project_\PythonPartsScripts
...\usr\_username_\PythonPartsScripts

source here

Best

Edit :

Don't use the Allplan ETC folder for your files, its content can be deleted or moved during an update!

Hi,

the py file must be in a PythonPartsScripts folder which can be :

...\std\PythonPartsScripts
...\prj\_project_\PythonPartsScripts
...\usr\_username_\PythonPartsScripts

source here

Best

Edit :

Don't use the Allplan ETC folder for your files, its content can be deleted or moved during an update!