AreSameResources Method


Implement this method to indicate whether two given resources are the same.

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

Syntax

C#
bool AreSameResources(
	IDictionary<string, string> reference1,
	IDictionary<string, string> reference2
)
Visual Basic
Function AreSameResources ( _
	reference1 As IDictionary(Of String, String), _
	reference2 As IDictionary(Of String, String) _
) As Boolean
Visual C++
bool AreSameResources(
	IDictionary<String^, String^>^ reference1, 
	IDictionary<String^, String^>^ reference2
)

Return Value

True if two given resources are the same; otherwise false.

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 →