HideBubbleInView Method


Hides the bubble in a view. This method does not apply to Reference planes.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2016

Syntax

C#
public void HideBubbleInView(
	DatumEnds datumEnd,
	View view
)
Visual Basic
Public Sub HideBubbleInView ( _
	datumEnd As DatumEnds, _
	view As View _
)
Visual C++
public:
void HideBubbleInView(
	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.

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.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →