Gets or sets the material data condition.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.1516
Syntax
C#
public MaterialConditionType Condition { get; set; }
VB
Public Property Condition As MaterialConditionType
Get
Set
C++
public:
property MaterialConditionType Condition {
MaterialConditionType get ();
void set (MaterialConditionType value);
}Property Value
MaterialConditionType
Exceptions
| Exception | Condition |
|---|
| InvalidOperationException |
Thrown when:
- Setting the property to MaterialConditionType::Base/Compare/Include/Exclude when the property value of QuantityTakeoffCriteriaItem::QuantityType is not MaterialQuantityType::Earthwork.
- Setting the property to MaterialConditionType::Below/Above/Include/Exclude when the property value of QuantityTakeoffCriteriaItem::QuantityType is MaterialQuantityType::Earthwork.
- 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
- MaterialQuantityType::Cut/Fill/CutFill/Structure <==> MaterialConditionType::Above/Below (MaterialItemType::Surface)
- MaterialQuantityType::Earthwork <==> MaterialConditionType::Base/Compare (MaterialItemType::Surface)
- MaterialQuantityType::Structure <==> MaterialConditionType::Include/Exclude (MaterialItemType::CorridorShape)
See Also
Reference