SetViewDisplayModel Method


View Set View Display Model Method

Sets the view display model settings for the view.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetViewDisplayModel(
	ViewDisplayModel viewDisplayModel
)

Parameters

viewDisplayModel ViewDisplayModel
View display model settings to set.
Exceptions
Exception Condition
ArgumentException The silhouette line style id is not a valid line style to apply to the view.
ArgumentNullException A non-optional argument was null
InvalidOperationException This view does not contain display-related properties.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →