StructuralConnectionHandlerAddElementIds Method |
Adds element ids to the connection.
All element ids in an array should be of applicable category.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic void AddElementIds(
IList<ElementId> elemIds
)
Public Sub AddElementIds (
elemIds As IList(Of ElementId)
)
public:
void AddElementIds(
IList<ElementId^>^ elemIds
)
member AddElementIds :
elemIds : IList<ElementId> -> unit
Parameters
- elemIds IListElementId
-
The ElementIdArr containing ids of elements to be added.
ExceptionsException | Condition |
---|
ArgumentException |
One or more element ids was not permitted to be add to the connection.
Elements should be of applicable category.
-or-
One or more element ids was not permitted to be added to the connection.
Elements should not be duplicated.
|
ArgumentNullException |
A non-optional argument was null
|
See Also