I'm struggeling with the same problem. Is there still no way to attach the attributes?
Hello Clemens,
As far as I know, the only option to have attributes on the object inside a PythonPart is to use PythonPart group. It is currently only available with coded PythonPart. The schematic structure of that object looks like:
PythonPart group
├─ PythonPart object A
├─ PythonPart object B
├─ PythonPart object C
└─ ...
Each PythonPart object (A,B,C,...) inside that PythonPart group could have its own attributes or same attributes with different values. You can also generate reports based on individual PythonPart objects.
The only caveat is that users don't have the direct access to the PythonPart objects inside that PythonPart group. (Right click is still able to detect the individual PythonPart object though.)
P.S. please, next time, don't post a message to a thread, which is inactive about 2y old... You can create a new one...
Product Owner API, Allplan GmbH