Checks if the FailureMessage should be merged with the other FailureMessage for better user experience.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public bool ShouldMergeWithMessage(
FailureMessageAccessor messageToMergeWith
)
Parameters
- messageToMergeWith FailureMessageAccessor
-
Return Value
Boolean
True if messages should be merged
Exceptions
Remarks
Messages should be merged if all user-visible information except failing elements is the same,
failure resolution types are the same and merging lists of failing elements keeps message text applicable to all of them equally.
Method is used by the Revit UI to display multiple messages as one.
See Also
Reference