Hello Jeremy,
I build curve arrays with points that are unique up to the 9th decimal of a foot (which is the tolerance Revit API uses).
Today I got this error, in a curve array of 8 points/8 edges. These below are my data.
Did anything change in RevitAPI recently to cause this ? (my code has not changed, and was used every day for 2 months)
thank you for your kind response,
Angelo
INFO - sorted points by angle (deg)
INFO - (371.320439699, -78.201695538, 0.526725415) (11.781910)
INFO - (353.310056393, -77.090667510, 0.526725415) (161.274077)
INFO - (349.881316229, -80.166218966, 0.526725415) (180.288841)
INFO - (358.067891914, -80.670617892, 0.526725415) (187.807026)
INFO - (358.067854095, -80.671231706, 0.526725415) (187.815310)
INFO - (366.254391961, -81.176244447, 0.526725415) (345.189149)
INFO - (366.254429780, -81.175630632, 0.526725415) (345.197388)
INFO - (374.440967647, -81.680643372, 0.526725415) (352.661423)
0 -> 1 ((371.320439699, -78.201695538, 0.526725415) -> (353.310056393, -77.090667510, 0.526725415))
1 -> 2 ((353.310056393, -77.090667510, 0.526725415) -> (349.881316229, -80.166218966, 0.526725415))
2 -> 3 ((349.881316229, -80.166218966, 0.526725415) -> (358.067891914, -80.670617892, 0.526725415))
3 -> 4 ((358.067891914, -80.670617892, 0.526725415) -> (358.067854095, -80.671231706, 0.526725415))
error -> line is too short