2027 Method
Changes 4
M

ContourSetting.AddContourRange

Description:
Add a set of contours as a contour setting item to the current contour setting.
public ContourSettingItem AddContourRange(
	double start,
	double stop,
	double step,
	ElementId subcategoryId
)
  • Double
    start
    The contour range start elevation.
  • Double
    stop
    The contour range stop elevation. Should be greater than start elevation.
  • Double
    step
    The increment elevation of the contour range. Should be greater than zero.
  • subcategoryId
    The contour line style subcategory id.
Return Value ContourSettingItem The newly added contour setting item.
  • The given value for start is not finite -or- The given value for stop is not finite -or- The given value for step is not finite -or- The input subcategory id is not valid.
  • A non-optional argument was null
  • The input contour spacing information is not valid.