Retrieves other Element Ids that this Element is Auto-detecting against.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2011
Syntax
C# |
---|
public ICollection<ElementId> GetAutoDetectMatchedElements( AnalyticalDirection direction ) |
Visual Basic |
---|
Public Function GetAutoDetectMatchedElements ( _ direction As AnalyticalDirection _ ) As ICollection(Of ElementId) |
Visual C++ |
---|
public: ICollection<ElementId^>^ GetAutoDetectMatchedElements( AnalyticalDirection direction ) |
Parameters
- direction
- Type: Autodesk.Revit.DB.Structure..::..AnalyticalDirection
Direction in which Analytical Auto-detect is being done.
Return Value
A set of Element Ids against which this Element is Auto-detecting. The set may be empty if this Element is not Auto-detecting against anything.
Remarks
An empty set is a valid return value. It just means that this Element is
not Auto-detecting against any other Elements in the given direction.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | direction is invalid for Analytical Auto-detect. |
Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |