Revit 2020.1 API |
RebarContainer..::..SetSolidInView Method |
RebarContainer Class See Also |
Sets this RebarContainer element is shown as solid in the given 3D view.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.1.1.1)
Since:
2016
Syntax
C# |
---|
public void SetSolidInView( View3D view, bool solid ) |
Visual Basic |
---|
Public Sub SetSolidInView ( _ view As View3D, _ solid As Boolean _ ) |
Visual C++ |
---|
public: void SetSolidInView( View3D^ view, bool solid ) |
Parameters
- view
- Type: Autodesk.Revit.DB..::..View3D
The 3D view element
- solid
- Type: System..::..Boolean
True if this RebarContainer element is shown as solid in the given 3D view, 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. |