Revit 2025.3 API
WallGet |
Gets the ids of the target elements that are attached to the Wall.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public IList<ElementId> GetAttachmentIds( AttachmentLocation attachmentLocation )
Public Function GetAttachmentIds ( attachmentLocation As AttachmentLocation ) As IList(Of ElementId)
public: IList<ElementId^>^ GetAttachmentIds( AttachmentLocation attachmentLocation )
member GetAttachmentIds : attachmentLocation : AttachmentLocation -> IList<ElementId>
Parameters
- attachmentLocation AttachmentLocation
- The attachment location.
Return Value
IListElementIdReturns the elements ids that are attached to this wall at the specified "attachmentLocation".

Exception | Condition |
---|---|
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
See Also