Support Forum

[Frage] PythonParts report


Hi!
Is there a way in Allplan to report a PythonPart, similar to an architectural element or even a 3D element?
For example, in the case of a Pythonpart beam, would the report include the dimensions, surface area, volume.

Thank you for your answers!

1 - 10 (11)

Hi,

As any Allplan object we can query PythonParts on specific attributes (example with legend).

Best

Anhänge (1)

Typ: image/jpeg
119-mal heruntergeladen
Größe: 52,22 KiB

Is it works also with reinforcements schedules?

Hi,

Here another example with a PythonPart for reinforcements

Best

Anhänge (1)

Typ: image/jpeg
61-mal heruntergeladen
Größe: 116,05 KiB

I know but this is default schedule. I mean customized schedules.

I know but this is default schedule. I mean customized schedules.

My problem is that I couldn't find a legend that can handle Pythonparts. Do you have a default one or have you made a custom one that can handle it?
At least I didn't find anything that shows that the given Pythonpart, the data I need (dimensions, surface area, volume, etc.).

For example, there is such a beam and I would like to query this data.

Anhänge (2)

Typ: image/png
35-mal heruntergeladen
Größe: 10,93 KiB
Typ: image/png
31-mal heruntergeladen
Größe: 59,27 KiB

Zitiert von: Rutti
My problem is that I couldn't find a legend that can handle Pythonparts. Do you have a default one or have you made a custom one that can handle it?

At least I didn't find anything that shows that the given Pythonpart, the data I need (dimensions, surface area, volume, etc.).
For example, there is such a beam and I would like to query this data.

Hi,

In order to create the custom legend presented above, I first enter the attributes in the PythonPart (in my case finish, thickness, etc.).

Then I created the legend with pythonparts objects as a filter (with the right designation) and I added for the attributes as a row.

Best

Hi!

Thanks for the help, I managed to create the legend with the necessary attributes. For me, it was a question of how to assign the given attribute, but I show an example in the image below.
In the end I was able to create a report, but this also required going to the attribute manager to find out the code for that attribute. And of course, it had to be set so that the report also finds the PythonPart elements.

Anhänge (3)

Typ: image/png
64-mal heruntergeladen
Größe: 38,14 KiB
Typ: image/png
43-mal heruntergeladen
Größe: 252,31 KiB
Typ: image/png
62-mal heruntergeladen
Größe: 40,27 KiB

Hi,

I'm happy to see that you managed to do what you want.

Please note that in attributes functions we can see the correct number.

Best

Anhänge (1)

Typ: image/jpeg
73-mal heruntergeladen
Größe: 23,79 KiB
1 - 10 (11)