Forum de la communauté Allplan

[Question] CreateLoftedBRep3D somethimes doesn't work [Résolu]


I am using Allplan version 2024.1.5, CreateLoftedBRep3D() sometimes doesn't work

outerProfiles_object = [object_1, object_2, object_3]

CreateLoftedBRep3D(outerProfiles_object, [], True, True, True, True)

But When I tried Loft funtion in Allplan it works.

Pièces-jointes (2)

Type: image/png
Téléchargé 14 fois
Size: 119,02 KiB
Type: application/ndw
Téléchargé 165 fois
Size: 832,28 KiB

Show solution Hide solution

Hi,

I have absolutely no idea, why it didn't work in your case. But it works in my case. Please have a script attached. I tested it in Allplan 2024.

I took your .ndw, read the points and put them into a JSON file. Please have a look at the script and investigate.

Best,
Bart.

Pièces-jointes (1)

Type: application/zip
Téléchargé 119 fois
Size: 3,62 KiB

Hi,

I have absolutely no idea, why it didn't work in your case. But it works in my case. Please have a script attached. I tested it in Allplan 2024.

I took your .ndw, read the points and put them into a JSON file. Please have a look at the script and investigate.

Best,
Bart.

Pièces-jointes (1)

Type: application/zip
Téléchargé 119 fois
Size: 3,62 KiB

Cité par bmarciniec
Hi,
I have absolutely no idea, why it didn't work in your case. But it works in my case. Please have a script attached. I tested it in Allplan 2024.
I took your .ndw, read the points and put them into a JSON file. Please have a look at the script and investigate.
Best,

Bart.

Hi Bart,

I don't know the reason why, but sometime it didn't work in my case even reset the pc . Hmm. But after a day it work again. @@!