Revit 2025 API
Temporary |
Changes the visibility of temporary graphics object.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetVisibility( int index, bool visible )
Public Sub SetVisibility ( index As Integer, visible As Boolean )
public: void SetVisibility( int index, bool visible )
member SetVisibility : index : int * visible : bool -> unit
Parameters
| Exception | Condition |
|---|---|
| ArgumentException | index is out of range of TemporaryGraphicsManager managed objects, or the indexed object has been removed from the document. |
See Also