Sets the visibility for the model curve in a family document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- visibility
- Type: Autodesk.Revit.DB FamilyElementVisibility
Remarks
The visibility of the model curve geometry can be changed for different types of views and detail levels in the family document.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions ArgumentNullException | Thrown when visibility is a null reference ( Nothing in Visual Basic) . |
| Autodesk.Revit.Exceptions InvalidOperationException | Thrown when regeneration failed, or the model curve is in a project document. |