Table of Contents

Class NwcClashGrouper

Namespace
NwcIO.Model.Clash
Assembly
NwcIO.dll

Provides intelligent automated clash grouping and clustering strategies for Navisworks Clash Detective tests. Enables grouping thousands of raw clashes by spatial proximity, element identity, grid lines, and disciplines.

public static class NwcClashGrouper

Inheritance

Inherited Members

Methods

GroupByGrid(NwcClashTest, string, int)

Groups clashes by grid location (e.g. "Grid A-1", "Grid B-3").

public static int GroupByGrid(NwcClashTest test, string groupPrefix = "Grid", int minGroupSize = 2)

Parameters

test NwcClashTest
groupPrefix string
minGroupSize int

Returns

int

GroupByLayer(NwcClashTest, string, int)

Groups clashes by layer or file of the participating items.

public static int GroupByLayer(NwcClashTest test, string groupPrefix = "Layer", int minGroupSize = 2)

Parameters

test NwcClashTest
groupPrefix string
minGroupSize int

Returns

int

GroupByPrimaryElement(NwcClashTest, string, int)

Groups clashes by primary element (Item1), bundling all collisions involving the same pipe, duct, or beam into one group.

public static int GroupByPrimaryElement(NwcClashTest test, string groupPrefix = "Element", int minGroupSize = 2)

Parameters

test NwcClashTest
groupPrefix string
minGroupSize int

Returns

int

GroupByProximity(NwcClashTest, double, string, int)

Groups clashes by spatial 3D proximity. Clashes within clusterDistance of each other are clustered into unified NwcIO.Model.Clash.NwcClashGroup containers.

public static int GroupByProximity(NwcClashTest test, double clusterDistance = 1, string groupPrefix = "Cluster", int minClusterSize = 2)

Parameters

test NwcClashTest

The clash test whose standalone results will be grouped.

clusterDistance double

Maximum distance in meters between two clashes to belong to the same cluster (default: 1.0m).

groupPrefix string

Name prefix for created clash groups (default: "Cluster").

minClusterSize int

Minimum number of clashes required to form a group (default: 2).

Returns

int

The number of new clash groups created.

UngroupAll(NwcClashTest)

Dissolves all groups in the clash test back into individual standalone results.

public static void UngroupAll(NwcClashTest test)

Parameters

test NwcClashTest