Share

ContourSetting 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.3.0.0 (25.3.0.0)

Syntax

C#

public class ContourSetting : IDisposable

The ContourSetting type exposes the following members.

Properties

 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.

Methods

 NameDescription
Public methodAddContourRange Add a set of contours as a contour setting item to the current contour setting.
Public methodAddSingleContour Add a single contour as a contour setting item to the current contour setting.
Public methodDisableItem Disable a contour setting item of the current contour setting so that the item will not be used to draw contours.
Public methodDisposeReleases all resources used by the ContourSetting
Public methodEnableItem Enable a contour setting item of the current contour setting so that the item will be used to draw contours.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetContourSettingItems Get all contour setting items.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetItemIndex Get the index of a contour setting item of the current contour setting
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsItemEnabled Check if a ContourSettingItem is enabled
Public methodRemoveItem Remove a contour setting item from the current contour setting.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?