2021 Method
Changes 4
M

FailureMessage.SetFailingElement

Description:
Sets the element that has caused the failure.
Remarks:
In Revit error dialog this element will be highlighted to the user and can be deleted by user via extended error dialog.
public FailureMessage SetFailingElement(
	ElementId id
)
Return Value The FailureMessage. The FailureMessage.