In Allplan 2026, a PythonPart is placed inside a wall (either an architectural wall or a precast wall).

When we retrieve the parent element of the PythonPart via the API, we get the wall, as expected.

However, when we manually copy the wall using the native Allplan copy tool, including the PythonPart it contains, retrieving the parent element of the copied PythonPart returns a null element instead of the copied wall.

Steps to reproduce:

1. Place any PythonPart inside an architectural or precast wall.
2. Retrieve the PythonPart's parent element via the API. The wall is returned correctly.
3. Copy the wall manually using the native Allplan tool, including the PythonPart.
4. Retrieve the parent element of the copied PythonPart again. The result is a null element.

Is this the expected behavior, or is it a bug in Allplan 2026 or its Python API? If this behavior is intentional, is there a recommended way to retrieve the parent wall after copying?

Anhänge (1)

Typ: image/png
6-mal heruntergeladen
Größe: 42,41 KiB