Sets the view display model settings for the view.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
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. |