SetUnobscuredInView Method


Sets this rebar element to be shown unobscured in a view.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2011

Syntax

C#
public void SetUnobscuredInView(
	View view,
	bool unobscured
)
Visual Basic
Public Sub SetUnobscuredInView ( _
	view As View, _
	unobscured As Boolean _
)
Visual C++
public:
void SetUnobscuredInView(
	View^ view, 
	bool unobscured
)

Parameters

view
Type: Autodesk.Revit.DBView
The view element
unobscured
Type: SystemBoolean
True if rebar is shown unobscured, false otherwise.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsInapplicableDataException This rebar element doesn't have valid visibility data.

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 →