Sets the graphic overrides assigned to elements owned by a particular user. The username cannot be on the list of removed usernames.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2012
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- username
- Type: System String
The username of the desired user.
- overrides
- Type: Autodesk.Revit.DB WorksharingDisplayGraphicSettings
The desired graphic overrides for this user.
Remarks
Note that you can specify usernames which do not yet exist in the document's user table.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions ArgumentException | The username is on the list of removed users. |
| Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |