ViewScheduleDeleteSegment Method |
Deletes a schedule segment.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic void DeleteSegment(
int segmentIndex
)
Public Sub DeleteSegment (
segmentIndex As Integer
)
public:
void DeleteSegment(
int segmentIndex
)
member DeleteSegment :
segmentIndex : int -> unit
Parameters
- segmentIndex Int32
-
Zero-based index of the segment.
Exceptions
Remarks
If the last segment is deleted, the previous one will be the last one and its height will be modified to unlimited.
If one segment is deleted when there are only two segments, all the instances will be deleted and the schedule
will become unsplit again.
See Also