Hi,

I have been trying to create a horizontal section and want to have the view in the middle of an element. However, Allplan is considering the height of the section as of the elements although I have defined the section box in the script.

As seen in the screenshots, the section box looks great when I drag the .pyp file into Allplan, but once I finish and click esc, all section boxes goes along the height of the elements.

I tried to solve the issue by adding lines of SectionBody.IsHeightFromElementOn, SectionBody.TopLevel and SectionBody.BottomLevel. The result is still the same.

Anhänge (2)

Typ: image/png
16-mal heruntergeladen
Größe: 14,36 KiB
Typ: image/png
14-mal heruntergeladen
Größe: 11,20 KiB