Add a set of contours as a contour setting item to the current contour setting.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:
2024
Syntax
Visual Basic |
---|
Public Function AddContourRange ( _
start As Double, _
stop As Double, _
step As Double, _
subcategoryId As ElementId _
) As ContourSettingItem |
Parameters
- start
- Type: System..::..Double
The contour range start elevation.
- stop
- Type: System..::..Double
The contour range stop elevation.
Should be greater than start elevation.
- step
- Type: System..::..Double
The increment elevation of the contour range.
Should be greater than zero.
- subcategoryId
- Type: Autodesk.Revit.DB..::..ElementId
The contour line style subcategory id.
Return Value
The newly added contour setting item.
Exceptions
See Also