QTOMaterialListCollectionImportCriteria Method |
Imports a new QTOMaterialList based on a QuantityTakeoffCriteria.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic QTOMaterialList ImportCriteria(
QTOCriteriaNameMapping criteriaNameMapping
)
Public Function ImportCriteria (
criteriaNameMapping As QTOCriteriaNameMapping
) As QTOMaterialList
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
ExceptionsException | Condition |
---|
ArgumentException |
Throw when:
- The ObjectId of SampleLineGroup used in criteriaNameMapping is not the same one which contains current QTOMaterialListCollection.
- 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