Revit 2016 API |
FamilyInstance..::..SetCopingIds Method |
FamilyInstance Class See Also |
Specifies the set of coping cutters on this element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Syntax
C# |
---|
public bool SetCopingIds( ICollection<ElementId> cutters ) |
Visual Basic |
---|
Public Function SetCopingIds ( _ cutters As ICollection(Of ElementId) _ ) As Boolean |
Visual C++ |
---|
public: bool SetCopingIds( ICollection<ElementId^>^ cutters ) |
Parameters
- cutters
- Type: System.Collections.Generic..::..ICollection<(Of <(<'ElementId>)>)>
A set of coping cutters (steel beams and steel columns).
Remarks
The set may be nullNothingnullptra null reference (Nothing in Visual Basic) or empty, but may not contain the element being coped.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | Thrown when 'cutters' contains this instance. |
Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown when regeneration fails or if a cutter element is not a FamilyInstance. |