Revit 2026 API
Temporary |
Sets the tooltip for the temporary graphics object.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void SetTooltip( int index, string tooltip )
Public Sub SetTooltip ( index As Integer, tooltip As String )
public: void SetTooltip( int index, String^ tooltip )
member SetTooltip : index : int * tooltip : string -> unit
Parameters
- index Int32
- Unique index of the temporary graphics object to be updated.
- tooltip String
- Tooltip to be set.
| Exception | Condition |
|---|---|
| ArgumentException | index is out of range of TemporaryGraphicsManager managed objects, or the indexed object has been removed from the document. |
| ArgumentNullException | A non-optional argument was null |
See Also