ClearPresentationMode Method


Sets the presentation mode for this rebar set to the default (either for a single view, or for all views).

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since: 2016

Syntax

C#
public void ClearPresentationMode(
	View dBView
)
Visual Basic
Public Sub ClearPresentationMode ( _
	dBView As View _
)
Visual C++
public:
void ClearPresentationMode(
	View^ dBView
)

Parameters

dBView
Type: Autodesk.Revit.DB View
The view where the presentation mode will be cleared. NULL for all views

Exceptions

Exception Condition
Autodesk.Revit.Exceptions DisabledDisciplineException None of the following disciplines is enabled: Structural.
Autodesk.Revit.Exceptions InapplicableDataException This rebar element represents a single bar (the layout rule is Single).

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →