Changes the visibility of temporary graphics object.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2022
Syntax
C# |
---|
public void SetVisibility(
int index,
bool visible
) |
Visual Basic |
---|
Public Sub SetVisibility ( _
index As Integer, _
visible As Boolean _
) |
Visual C++ |
---|
public:
void SetVisibility(
int index,
bool visible
) |
Parameters
- index
- Type: System..::..Int32
Unique index of the temporary graphics object to be updated.
- visible
- Type: System..::..Boolean
if true, it will make the temporary graphics object visible.
if false, it will make the temporary graphics object invisible.
Exceptions
See Also