Table of Contents

Constructor VolumeItem

Namespace
GeometryHelper.Takeoff
Assembly
GeometryHelper.dll

VolumeItem(GeoSolid3, string, int)

Initializes the item, with no id.

public VolumeItem(GeoSolid3 solid, string name, int priority)

Parameters

solid GeoSolid3

The body of the part; its openings are honoured, so only its material is counted.

name string

A name to know the part by, such as its kind or its id; null if there is none.

priority int

Who keeps the material this part shares with another: the higher priority keeps it. Any number will do, negative ones too.

Exceptions

ArgumentNullException

Thrown when the body is null.

VolumeItem(GeoSolid3, string, int, int)

Initializes the item with an id.

public VolumeItem(GeoSolid3 solid, string name, int priority, int id)

Parameters

solid GeoSolid3

The body of the part; its openings are honoured, so only its material is counted.

name string

A name to know the part by, such as its kind; null if there is none.

priority int

Who keeps the material this part shares with another: the higher priority keeps it. Any number will do, negative ones too.

id int

Who keeps it of two parts of the same priority: the larger id, and an item with an id before one without. Any number will do; a Tekla part's Identifier.ID takes ties as HDC WBS's WBSCalculator does.

Exceptions

ArgumentNullException

Thrown when the body is null.