|
|
Namespace: Autodesk.Navisworks.Api.Clash
Assembly: Autodesk.Navisworks.Clash (in Autodesk.Navisworks.Clash.dll)
Syntax
| Visual Basic |
|---|
ReadOnly Property RepresentativeResult As ClashResult Get |
| C# |
|---|
ClashResult RepresentativeResult { get; } |
| Visual C++ |
|---|
property ClashResult^ RepresentativeResult { ClashResult^ get (); } |
Remarks
The representative result is used to represent a ClashResultGroup in cases where it has to be reduced to a single clash.
RepresentativeResult is also defined for ClashResults, but in this case is merely the result itself.
For a group, the representative result attempts to pick the most severe of the individual results in the group. This is defined as:
- The closest open result, if there is one,
- otherwise the closest closed result
Where "open" means results with Status of "New", "Active", or "Reviewed"; and "closed" in consequence means "Resolved" or "Approved".
And "closest" is defined as the result with the shortest distance. Where distance can go negative (e.g. in a Hard test with non-zero tolerance), more negative values are considered to be closer.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ObjectDisposedException | Object has been Disposed. |
| System..::..NotSupportedException | Object is Read-Only. |