FailureMessage.SetFailingElement
Description:
Sets the element that has caused the failure.
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.
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
)
-
idThe element that has caused the failure.
-
A non-optional argument was null
-
This FailureMessage is already posted to a document