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.