Revit 2016 API |
AssemblyInstance..::..RemoveMemberIds Method |
AssemblyInstance Class See Also |
Removes member element ids from the assembly instance.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since:
2012
Syntax
C# |
---|
public void RemoveMemberIds( ICollection<ElementId> memberIds ) |
Visual Basic |
---|
Public Sub RemoveMemberIds ( _ memberIds As ICollection(Of ElementId) _ ) |
Visual C++ |
---|
public: void RemoveMemberIds( ICollection<ElementId^>^ memberIds ) |
Parameters
- memberIds
- Type: System.Collections.Generic..::..ICollection<(Of <(<'ElementId>)>)>
Element ids to be removed from the assembly instance.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | One or more element ids was not permitted to be removed from the assembly instance. Provided set should not be empty and all elements should be a member of the assembly instance. |
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |