QTOMaterialListCollectionImportCriteria Method

Imports a new QTOMaterialList based on a QuantityTakeoffCriteria.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public QTOMaterialList ImportCriteria(
	QTOCriteriaNameMapping criteriaNameMapping
)

Parameters

criteriaNameMapping  QTOCriteriaNameMapping
An instance of QTOCriteriaNameMapping which has been set to map all name on a QuantityTakeoffCriteria.

Return Value

QTOMaterialList
Exceptions
ExceptionCondition
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.
Remarks
An instance of QTOCreiteriaNameMapping class should be created with ObjectId of QuantityTakeoffCriteria and be mapped with all the names.
See Also