Checks whether the given Id is an acceptable starting view. InvalidElementId corresponds to "Last Viewed" and is therefore also acceptable.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public bool IsAcceptableStartingView( ElementId viewId )
Parameters
- viewId ElementId
- The Id of the element to check.
Return Value
BooleanTrue if the view is acceptable, False if it is not.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |