I'm using Revit API to construct a wall from 3D points below but I'm getting an exception with the message "Failed to create a wall".
[ 0.07191595529194217, 46.52994338391683, 3.241999789237976 ],
[ 0.07191595529194217, 46.52994338391683, 0.1929994918406024 ],
[ 0.07191566512010183, 46.52975564144472, 0 ],
[ 0, 0, 0 ],
[ 0, 0, 0.04299949519336366 ],
[ 0.00003091165067559132, 0.019999975664696024, 0.8329994775354876 ],
[ 0.000015455825334242945, 0.009999987832348012, 1.8629994545131936 ],
[ 0.000015455825334242945, 0.009999987832348012, 2.1229994487017407 ],
[ 0.00003091165067559132, 0.019999975664696024, 2.62299943752587 ],
[ 0.000015455825334242945, 0.009999987832348012, 2.902999431267382 ],
[ 0.000015455825334242945, 0.009999987832348012, 3.241999789237976 ]
However, if I remove the 2nd point above, it works .
I can't tell what's causing this problem as the exception message isn't very explicit. Plus, the distance between the 2nd and 3rd points is 19cm (which is above the minimum required for segments of the wall curve).
Any idea how to explain why Revit is behaving this way?