Support Forum

[Frage] SweepXYSection doesnt work with a closed 3D polyline


Hello,

I want to use a L-Profile from the catalog and sweep it along a Closed Polyline, when the Profile is on the inside of the line it doesnt work when the polyline is closed.

I get the next message "SweepXYSection: Not possible to sweep the profile by the path"

It does work when the line is not closed or the profile is is on the outside of the line.

Does anyone know how i can solve this?

Anhänge (2)

Typ: image/png
51-mal heruntergeladen
Größe: 63,75 KiB
Typ: application/x-sqlite3
669-mal heruntergeladen
Größe: 132,00 KiB

I don't have the problem with simple closed profile. Can you check whether your geometry is valid for such sweep operation?

Product Owner API, Allplan GmbH

Anhänge (1)

Typ: image/png
68-mal heruntergeladen
Größe: 96,52 KiB

I use a Profile from the Default Allplan libary. it works with a circel and when its outside a closed polyline. Just not when it is inside it.

Anhänge (3)

Typ: image/png
28-mal heruntergeladen
Größe: 103,14 KiB
Typ: image/png
42-mal heruntergeladen
Größe: 30,03 KiB
Typ: image/png
40-mal heruntergeladen
Größe: 122,58 KiB

If the path is a circel but not when it is a rectangle and its inside the path

Anhänge (1)

Typ: image/png
31-mal heruntergeladen
Größe: 154,16 KiB

Hmm... You are right and it is weird...
As a workaround you can lift you cross section a little bit, it seems to work.

P.S. make sure it has a positive z value, a negative one also won't work...

Product Owner API, Allplan GmbH

Anhänge (1)

Typ: image/png
42-mal heruntergeladen
Größe: 100,20 KiB

It works if I lift it 100mm or more. It didnt work at the start because I work in mm.

Thanks for the help.