ContourSetting Class


Contour Setting Class

Contour setting object that handles the contour information used to draw contours on elements.
Inheritance Hierarchy
System Object
Autodesk.Revit.DB ContourSetting

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class ContourSetting : IDisposable

The ContourSetting type exposes the following members.

Properties
Name Description
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
Name Description
Public method AddContourRange Add a set of contours as a contour setting item to the current contour setting.
Public method AddSingleContour Add a single contour as a contour setting item to the current contour setting.
Public method DisableItem Disable a contour setting item of the current contour setting so that the item will not be used to draw contours.
Public method Dispose Releases all resources used by the ContourSetting
Public method EnableItem Enable a contour setting item of the current contour setting so that the item will be used to draw contours.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetContourSettingItems Get all contour setting items.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetItemIndex Get the index of a contour setting item of the current contour setting
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method IsItemEnabled Check if a ContourSettingItem is enabled
Public method RemoveItem Remove a contour setting item from the current contour setting.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
See Also