| Revit 2020 API |
| DatumPlane..::..IsBubbleVisibleInView Method |
| DatumPlane Class See Also |
Identifies if the bubble is visible or not in a view.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.0.0.377)
Since:
2016
Syntax
| C# |
|---|
public bool IsBubbleVisibleInView( DatumEnds datumEnd, View view ) |
| Visual Basic |
|---|
Public Function IsBubbleVisibleInView ( _ datumEnd As DatumEnds, _ view As View _ ) As Boolean |
| Visual C++ |
|---|
public: bool IsBubbleVisibleInView( 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 bubble is visible, false otherwise.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | The datum plane cannot be visible in the view. |
| 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. |