Share

QTOMaterialListCollection.ImportCriteria Method

Imports a new QTOMaterialList based on a QuantityTakeoffCriteria.



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

Syntax

C#

public QTOMaterialList ImportCriteria(
	QTOCriteriaNameMapping criteriaNameMapping
)

VB

Public Function ImportCriteria ( 
	criteriaNameMapping As QTOCriteriaNameMapping
) As QTOMaterialList

C++

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

Reference

Was this information helpful?