RVTDocs.com
Namespace: Autodesk.Revit.DB Class: FamilyInstance

FamilyInstance.AddCoping

Method
Description:
Adds a coping (cut) to a steel beam.
Remarks:
This beam will be cut to fit another element, the cutter. The cut will include an offset determined by the parameter STRUCTURAL_COPING_DISTANCE. The parameter affects all copings on this element. This function corresponds to Tools -> Coping in Revit Structure.
Syntax
public bool AddCoping(
	FamilyInstance cutter
)
Parameters
Parameter Type Description
cutter FamilyInstance A steel beam or column. May not be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTD750F913_1"></span></span> or itself.
Return Value
Exceptions
Exception Condition
ArgumentNullException Thrown when 'cutter' is.
ArgumentException Thrown when 'cutter' refers to this instance.
InvalidOperationException Thrown when regeneration fails.