ContourSetting.AddSingleContour
Method
Description:
Add a single contour as a contour setting item to the current contour setting.
Add a single contour as a contour setting item to the current contour setting.
Parameters
| Parameter | Type | Description |
|---|---|---|
| elevation | Double | The contour elevation. |
| subcategoryId | ElementId | The contour line style subcategory id. |
Return Value
| Type | Description |
|---|---|
| ContourSettingItem | The newly added contour setting item. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The given value for elevation is not finite |
| ArgumentNullException | A non-optional argument was null |