Constructor VolumeTakeoffOptions
- Namespace
- GeometryHelper.Takeoff
- Assembly
- GeometryHelper.dll
VolumeTakeoffOptions(SolidBooleanOptions, int)
Initializes the options.
public VolumeTakeoffOptions(SolidBooleanOptions boolean, int maxDegreeOfParallelism = -1)
Parameters
booleanSolidBooleanOptionsHow each overlap is worked out and each volume measured: the tolerance, the contact and the fallback of the booleans. A Tekla model in millimetres takes a tolerance of a thousandth with a contact and a fallback of a hundredth, as SolidBooleanOptions says.
maxDegreeOfParallelismintHow many threads may work at once; -1 for every processor.
Exceptions
- ArgumentNullException
Thrown when the boolean options are null.
- ArgumentOutOfRangeException
Thrown when the parallelism is neither -1 nor positive.