| Revit 2017 API |
| RebarContainer..::..SetUnobscuredInView Method |
| RebarContainer Class See Also |
Sets this rebar container element to be shown unobscured in a view.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.484.0)
Since:
2016
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 is shown unobscured, false otherwise.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |
| Autodesk.Revit.Exceptions..::..DisabledDisciplineException | None of the following disciplines is enabled: Structural. |
| Autodesk.Revit.Exceptions..::..InapplicableDataException | This rebar container element doesn't have valid visibility data. |