Skip to content

ViewDisplayModel

Public Class

Represents the settings for displaying model graphics. version 2: m_showHiddenLines type changed bool -> ShowHiddenLinesValues::Enum

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.ViewDisplayModel

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class ViewDisplayModel : IDisposable

The ViewDisplayModel type exposes the following members.

Properties

Name

Description


Public Property

True to show silhouettes edges. False to disable showing them.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

True to enable hidden lines. False to disable showing them.


Public Property

Style ID for silhouette edges


Public Property

True to enable “smooth edge” (anti-aliasing) effect. False to disable it.


Public Property

The percentage (0..100) of surface transparency 0 means the surfaces are opaque, 100 means they are fully transparent


Methods

Name

Description


Public Method

Releases all resources used by the ViewDisplayModel


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

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)