Identifies if the DatumPlane has bubble or not.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2016
Syntax
| C# |
|---|
public bool HasBubbleInView( DatumEnds datumEnd, View view ) |
| Visual Basic |
|---|
Public Function HasBubbleInView ( _ datumEnd As DatumEnds, _ view As View _ ) As Boolean |
| Visual C++ |
|---|
public: bool HasBubbleInView( DatumEnds datumEnd, View^ view ) |
Parameters
- datumEnd
- Type: Autodesk.Revit.DB..::..DatumEnds
The end of the datum plane.
- view
- Type: Autodesk.Revit.DB..::..View
The view on which the DatumPlane shows.
Return Value
True if the DatumPlane has bubble, false otherwise.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
| Autodesk.Revit.Exceptions..::..InvalidOperationException | This datum plane doesn't support bubble operations. |