Revit 2025.3 API
Contour |
Disable a contour setting item of the current contour setting so that the item will not be used to draw contours.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void DisableItem( ContourSettingItem item )
Public Sub DisableItem ( item As ContourSettingItem )
public: void DisableItem( ContourSettingItem^ item )
member DisableItem : item : ContourSettingItem -> unit
Parameters
- item ContourSettingItem
- The contour setting item to be disabled.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |

Contour setting will not be changed if the item could not be found.
See Also