Identifies if the view id is valid as a preview view id.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public bool IsViewIdValidForPreview( ElementId viewId )
Parameters
- viewId ElementId
- The view id.
Return Value
BooleanTrue if the view id is valid for preview, false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |