GetAutoDetectMatchedElements Method


Retrieves ElementIds that Sketch Component is Auto-detecting against.

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

Syntax

C#
public ICollection<ElementId> GetAutoDetectMatchedElements()
Visual Basic
Public Function GetAutoDetectMatchedElements As ICollection(Of ElementId)
Visual C++
public:
ICollection<ElementId^>^ GetAutoDetectMatchedElements()

Return Value

Set of ElementIds that Sketch Component is auto-detecting against.

Remarks

An empty set indicates that the Sketch Component is just not Auto-detecting against anything.

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 →