| Revit 2020 API |
| RebarCoupler..::..SetUnobscuredInView Method |
| RebarCoupler Class See Also |
Sets this rebar coupler element to be shown unobscured in a view.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.0.0.377)
Since:
2018.3
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.DB..::..View
The view element
- unobscured
- Type: System..::..Boolean
True if rebar coupler is shown unobscured, false otherwise.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |
| Autodesk.Revit.Exceptions..::..InapplicableDataException | This rebar coupler element doesn't have valid visibility data |