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
solidGeoSolid3The body of the part; its openings are honoured, so only its material is counted.
namestringA name to know the part by, such as its kind or its id; null if there is none.
priorityintWho 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
solidGeoSolid3The body of the part; its openings are honoured, so only its material is counted.
namestringA name to know the part by, such as its kind; null if there is none.
priorityintWho keeps the material this part shares with another: the higher priority keeps it. Any number will do, negative ones too.
idintWho 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.IDtakes ties as HDC WBS's WBSCalculator does.
Exceptions
- ArgumentNullException
Thrown when the body is null.