ContourSetting
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 : IDisposableThe ContourSetting type exposes the following members.
Properties
Name
Description
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
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)