Revit 2025 API
Worksharing |
Checks whether there are graphic overrides that would apply to elements
owned by the given user in the "Individual Owners" display mode.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool UserHasGraphicOverrides( string username )
Public Function UserHasGraphicOverrides ( username As String ) As Boolean
public: bool UserHasGraphicOverrides( String^ username )
member UserHasGraphicOverrides : username : string -> bool
Parameters
- username String
- The username to check
Return Value
BooleanTrue if there are graphic overrides assigned to the username, false otherwise.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |

There will always be graphic overrides for all users included in the user
table. In addition, there may be other users who have been explicitly assigned overrides.
See Also