Forum de la communauté Allplan

[Question] 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?

Pièces-jointes (2)

Type: image/png
Téléchargé 49 fois
Size: 63,75 KiB
Type: application/x-sqlite3
Téléchargé 435 fois
Size: 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

Pièces-jointes (1)

Type: image/png
Téléchargé 64 fois
Size: 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.

Pièces-jointes (3)

Type: image/png
Téléchargé 28 fois
Size: 103,14 KiB
Type: image/png
Téléchargé 40 fois
Size: 30,03 KiB
Type: image/png
Téléchargé 40 fois
Size: 122,58 KiB

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

Pièces-jointes (1)

Type: image/png
Téléchargé 29 fois
Size: 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

Pièces-jointes (1)

Type: image/png
Téléchargé 40 fois
Size: 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.


https://connect.allplan.com/ utilise des cookies  -  Plus d'informations

Accepter