Table of Contents

Class NwcClashResult

Namespace
NwcIO.Model.Clash
Assembly
NwcIO.dll

Represents a single collision, penetration, or clearance violation between two BIM elements.

public sealed class NwcClashResult

Inheritance

Inherited Members

Constructors

NwcClashResult()

public NwcClashResult()

NwcClashResult(string, NwcClashObject, NwcClashObject, Vector3d, double, NwcClashStatus)

public NwcClashResult(string name, NwcClashObject item1, NwcClashObject item2, Vector3d clashPoint, double distance = 0, NwcClashStatus status = NwcClashStatus.New)

Parameters

name string
item1 NwcClashObject
item2 NwcClashObject
clashPoint Vector3d
distance double
status NwcClashStatus

Properties

ApprovedBy

public string? ApprovedBy { get; set; }

Property Value

string?

AssignedTo

public string? AssignedTo { get; set; }

Property Value

string?

ClashPoint

public Vector3d ClashPoint { get; set; }

Property Value

Vector3d

Comments

public List<NwcClashComment> Comments { get; }

Property Value

List<NwcClashComment>

CreatedDate

public DateTimeOffset CreatedDate { get; set; }

Property Value

DateTimeOffset

Description

public string? Description { get; set; }

Property Value

string?

Distance

public double Distance { get; set; }

Property Value

double

GridLocation

public string? GridLocation { get; set; }

Property Value

string?

Item1

public NwcClashObject Item1 { get; set; }

Property Value

NwcClashObject

Item2

public NwcClashObject Item2 { get; set; }

Property Value

NwcClashObject

Name

public string Name { get; set; }

Property Value

string

ResultGuid

public Guid ResultGuid { get; set; }

Property Value

Guid

Status

public NwcClashStatus Status { get; set; }

Property Value

NwcClashStatus

Viewpoint

public NwcSavedViewpoint? Viewpoint { get; set; }

Property Value

NwcSavedViewpoint?

Methods

AddComment(string, string, NwcClashStatus)

public void AddComment(string body, string author = "Coordinator", NwcClashStatus status = NwcClashStatus.Active)

Parameters

body string
author string
status NwcClashStatus