icon

Support Forum

[Frage] How to alway launch latest version of .pyp file

Schlagworte:
  • Cache
  • Opening
  • Always
  • Latest
  • Version
  • Of.pyp
  • File

Hi,

I am having a problem with loading the latest version of Python Parts into Allplan. It only works the first time after launching Allplan. It seems that ALlplan stores .pyp and .py files somewhere in a chache directory that I cannot access or modify easily. I have noticed that even when I run the latest version of my code, Allplan still opens an older one, probably from the cache. Currently, the only way I can solve this is by restarting Allplan or renaming the .pyp file. However, neither of this solutions are pratical.

Could anyone suggest a better solutions? I would like to be able to open my Python Parts by dragging the .pyp file into Allplan window and always have Allplan run the latest version.

Thank you in advice.

Best regards

Hello,

It is possible to add a variable defined with a random number that is refreshed with every execution. This ensures that each element is unique and that Allplan does not reuse a previous version from the cache.