Gets the SSE point visibility for the given category.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2024
Syntax
C# |
---|
public static bool GetVisibility( Document document, ElementId categoryId ) |
Visual Basic |
---|
Public Shared Function GetVisibility ( _ document As Document, _ categoryId As ElementId _ ) As Boolean |
Visual C++ |
---|
public: static bool GetVisibility( Document^ document, ElementId^ categoryId ) |
Parameters
- document
- Type: Autodesk.Revit.DB..::..Document
The document.
- categoryId
- Type: Autodesk.Revit.DB..::..ElementId
The category id.
Return Value
The visibility of the given category. True means the SSE points are visible.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | The category is not valid for SSE. |
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |