Imports a new QTOMaterialList based on a QuantityTakeoffCriteria.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public QTOMaterialList ImportCriteria(
	QTOCriteriaNameMapping criteriaNameMapping
)
Visual Basic
Public Function ImportCriteria ( _
	criteriaNameMapping As QTOCriteriaNameMapping _
) As QTOMaterialList
Visual C++
public:
QTOMaterialList^ ImportCriteria(
	QTOCriteriaNameMapping^ criteriaNameMapping
)

Parameters

criteriaNameMapping
Type: Autodesk.Civil.DatabaseServices..::..QTOCriteriaNameMapping
An instance of QTOCriteriaNameMapping which has been set to map all name on a QuantityTakeoffCriteria.

Remarks

An instance of QTOCreiteriaNameMapping class should be created with ObjectId of QuantityTakeoffCriteria and be mapped with all the names.

Exceptions

ExceptionCondition
System..::..ArgumentException Throw when:
  1. The ObjectId of SampleLineGroup used in criteriaNameMapping is not the same one which contains current QTOMaterialListCollection.
  2. criteriaNameMapping is not valid for current VolumeCalculationMethodType.

See Also