Hello Community,
I wanted to share something with this post. It is something for the rather advanced PythonParts creators, that hit the limits of the out-of-box UI (parameters defined in .pyp file).
Recently, tools for vibe-coding are popping out of nowhere Lovable, Replit, Bolt to name a few). With these tools, you can build a cutting edge UI and don't have to know the modern web-UI frameworks like React, Angular, etc. But using them to power a PythonPart might be a tricky part.
Which is why I created this repository - a PythonPart, that leverages a web-based UI with bi-directional communication between the UI and ALLPLAN.
More details, how it's done, in the README.md.
How to try it out:
Clone the repo and follow the instructions in the README. Once you started the PythonPart in ALLPLAN, you can try it out:
- ALLPLAN -> UI: Click in the Viewport -> the coordinates of the point are shown in the pop-up
- UI -> ALLPLAN: Press the button in the pop-up -> a Hello World text is created in ALLPLAN
Let me know: is this something that now opens new possibilities for you?
Best,
Bart

