| Revit 2016 API |
| View..::..GetVisibility Method |
| View Class See Also |
Checks if elements of the given category are set to be visible in this view.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Syntax
| C# |
|---|
public bool GetVisibility( Category category ) |
| Visual Basic |
|---|
Public Function GetVisibility ( _ category As Category _ ) As Boolean |
| Visual C++ |
|---|
public: bool GetVisibility( Category^ category ) |
Parameters
- category
- Type: Autodesk.Revit.DB..::..Category
The category.
Return Value
True if the category is visible, false otherwise.
Remarks
This checks only if the category is set visible or invisible individually. Other Revit mechanisms
may also affect the visibility of elements of this category, including:
- the category classes settings for model categories, annotation categories, import categories or analytical model categories.
- view filters