DirectContext3DHandleSettings
Overriding settings applied to DirectContext3DHandles through the Visibility dialog.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.DirectContext3D.DirectContext3DHandleSettings
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class DirectContext3DHandleSettings : IDisposable
The DirectContext3DHandleSettings type exposes the following members.
Constructors
Name
Description
Public Method
DirectContext3DHandleSettings.
Constructs an instance of settings with default values.
Public Method
DirectContext3DHandleSettings(DirectContext3DHandleSettings)
Constructs a copy of source object.
Public Method
DirectContext3DHandleSettings(Boolean, Int32)
Constructs an instance of settings with provided values.
Properties
Name
Description
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
Visibility
Visibility of the handle and the associated DirectContext3D graphics. A value of true means that the graphics are visible.
Methods
Name
Description
Public Method
Assign
Assigns values of the source settings to this object.
Public Method
Dispose
Releases all resources used by the DirectContext3DHandleSettings
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetTransparency
Gets the transparency value of the handle and the associated DirectContext3D graphics.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
IsEqual
Check if the contents of two instances of settings are equal.
Public Method
SetTransparency
Sets the transparency value of the handle and the associated DirectContext3D graphics.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
DirectContext3D graphics can be displayed with or without an associated DirectContext3D handle element. For DirectContext3D graphics that utilize the handle element, the visibility and appearance of the graphics can be adjusted through the Visibility/Graphics dialog.