GetGraphicOverrides Method (String)


Returns the graphic overrides assigned for elements owned by a particular user.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2012

Syntax

C#
public WorksharingDisplayGraphicSettings GetGraphicOverrides(
	string username
)
Visual Basic
Public Function GetGraphicOverrides ( _
	username As String _
) As WorksharingDisplayGraphicSettings
Visual C++
public:
WorksharingDisplayGraphicSettings^ GetGraphicOverrides(
	String^ username
)

Parameters

username
Type: System String
The username of a particular user.

Return Value

The graphic overrides assigned to this user.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException This WorksharingDisplaySettings does not contain graphic overrides for the specified value of username.
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →