Support Forum

[Frage] How to get interaction between Allplan objects and PythonParts?


the website https://www.allplan.com/pythonparts-allplan.html states:
"Interactions between individual PythonParts and between PythonParts and other Allplan objects are also possible."

How can I build such an interaction?

My goal is to click on an existing Allplan object and then let Python do the calculations based on that object and then add a PythonPart based on that information.

Hi, you can read some geometry data by selecting entities (check GeometrySelectInteractor in PythonPartsScripts >> Interactor Examples), but I don't know if it is possible to read other data (e. g. distance between bars in placements...).

Hope you are still alive.