Skip to content

WorksharingDisplaySettings.UserHasGraphicOverrides

Public Class

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
)

Parameters

usernameString

The username to check

Return Value

Boolean
True if there are graphic overrides assigned to the username, false otherwise.

Exceptions

Exception

Condition


ArgumentNullException

A non-optional argument was null


Remarks

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.