I suggest you check the value of the raw parameter at various points along the ellipse and ponder its possible meaning.
I can well imagine that either the normalised or the raw parameter for an elliptical arc is in fact related to the arc angle, i.e., related to multiples of π.
Have you installed RevitLookup?
If not, please do so now, before reading on.
Please use RevitLookup or other Revit database exploration tools to analyse the normalised and raw parameter values at different points along the ellipse:
https://thebuildingcoder.typepad.com/blog/2013/11/intimate-revit-database-exploration-with-the-pytho...
It may very well be much easier than you think.
Later: I did some research for you and found this old article on curves:
https://thebuildingcoder.typepad.com/blog/2010/01/curves.html
It does indeed state:
- Elliptical arc: A bound elliptical segment.
- Ellipse: An unbound ellipse. Identify with Curve.IsBound. Use raw parameter for evaluation (from 0 to 2π).
Cheers,
Jeremy