Share

FailureMessage.SetAdditionalElements Method

Sets the additional reference elements for the failure.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public FailureMessage SetAdditionalElements(
	ICollection<ElementId> additionalElements
)

Parameters

additionalElements  ICollection<ElementId>
The additional elements.

Return Value

FailureMessage
The FailureMessage.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null
InvalidOperationException This FailureMessage is already posted to a document

Remarks

Additional elements are used to highlight additional information to the user. They are not considered as causing the failure, but are related to it. User cannot delete them in extended error dialog.

See Also

Reference

Was this information helpful?