SetUnobscuredInView Method


Rebar Set Unobscured In View Method

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

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetUnobscuredInView(
	View view,
	bool unobscured
)

Parameters

view View
The view element
unobscured Boolean
True if rebar is shown unobscured, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
InapplicableDataException 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 →