Revit 2025 API
Curtain |
Add a segment based on the specified segment curve of the gridline.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void AddSegment( Curve curve )
Public Sub AddSegment ( curve As Curve )
public: void AddSegment( Curve^ curve )
member AddSegment : curve : Curve -> unit
Parameters
- curve Curve
- The curve used to locate the segment to be removed. This function will invoke regeneration.

Exception | Condition |
---|---|
InvalidOperationException | Segment may not have been found in location indicated by curve. |
See Also