QuantityTakeoffCriteriaDataCondition Property

Gets or sets the material data condition.

Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public MaterialConditionType Condition { get; set; }

Property Value

MaterialConditionType
Exceptions
ExceptionCondition
InvalidOperationException Thrown when:
  1. Setting the property to MaterialConditionType::Base/Compare/Include/Exclude when the property value of QuantityTakeoffCriteriaItem::QuantityType is not MaterialQuantityType::Earthwork.
  2. Setting the property to MaterialConditionType::Below/Above/Include/Exclude when the property value of QuantityTakeoffCriteriaItem::QuantityType is MaterialQuantityType::Earthwork.
  3. Setting the property to MaterialConditionType::Base/Compare/Below/Above when the property value of QuantityTakeoffCriteriaItem::QuantityType is MaterialQuantityType::Structure and the property:ItemType value is MaterialItemType::CorridorShape.
Remarks
  1. MaterialQuantityType::Cut/Fill/CutFill/Structure <==> MaterialConditionType::Above/Below (MaterialItemType::Surface)
  2. MaterialQuantityType::Earthwork <==> MaterialConditionType::Base/Compare (MaterialItemType::Surface)
  3. MaterialQuantityType::Structure <==> MaterialConditionType::Include/Exclude (MaterialItemType::CorridorShape)
See Also