Changes in 2020 vs 2026 2 missing 8 changed
Flip API Versions →Missing in 2020 (only available in 2026)
Changed members
Curve.CreateOffset(Double, XYZ)
| offsetDist | Double | The signed distance that controls the offset. |
| referenceVector | XYZ | A reference vector to define the offset direction. |
| → returns | Curve | The new curve. |
Curve.CreateReversed()
| → returns | Curve | The new curve. |
Curve.CreateTransformed(Transform)
| transform | Transform | The transform to apply. |
| → returns | Curve | The new curve. |
Curve.GetEndParameter(Int32)
| index | Int32 | 0 for the start or 1 for end of the curve. |
| → returns | Double | The parameter. |
Curve.GetEndPoint(Int32)
| index | Int32 | 0 for the start or 1 for end of the curve. |
| → returns | XYZ | The curve endpoint. |
Curve.GetEndPointReference(Int32)
| index | Int32 | Use 0 for the start point; 1 for the end point. |
| → returns | nullNothingnullptr→Reference | Reference to the point or if reference cannot be obtained. |
Curve.Intersect(Curve, IntersectionResultArray%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Use the new Curve.Intersect method with CurveIntersectResultOption.Detailed. Note also that the updated method has improved handling of certain edge cases.
| curve | Curve | The specified curve to intersect with this curve. |
| resultArray | IntersectionResultArray% | Provides more information about the intersection. |
| → returns | SetComparisonResult | SetComparisonResult.Overlap - One or more intersections were encountered. The output argument has the details. SetComparisonResult.Subset - The inputs are parallel lines with only one common intersection point, or the curve used to invoke the intersection check is a line entirely within the unbound line passed as argument curve. If the former, the output argument has the details of the intersection point. SetComparisonResult.Superset - The input curve is entirely within the unbound line used to invoke the intersection check. SetComparisonResult.Disjoint - There is no intersection found between the two curves. SetComparisonResult.Equal - The two curves are identical. |
Curve.Intersect(Curve)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Use the new Curve.Intersect method with CurveIntersectResultOption.Simple. Note also that the updated method has improved handling of certain edge cases.
| curve | Curve | The specified curve to intersect with this curve. |
| → returns | SetComparisonResult | SetComparisonResult.Overlap - One or more intersections were encountered. SetComparisonResult.Subset - The inputs are parallel lines with only one common intersection point, or the curve used to invoke the intersection check is a line entirely within the unbound line passed as argument curve. SetComparisonResult.Superset - The input curve is entirely within the unbound line used to invoke the intersection check. SetComparisonResult.Disjoint - There is no intersection found between the two curves. SetComparisonResult.Equal - The two curves are identical. |