Gets or sets the material data condition.

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

Syntax

C#
public MaterialConditionType Condition { get; set; }
Visual Basic
Public Property Condition As MaterialConditionType
	Get
	Set
Visual C++
public:
property MaterialConditionType Condition {
	MaterialConditionType get ();
	void set (MaterialConditionType value);
}

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)

Exceptions

ExceptionCondition
System..::..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.

See Also