SetFactor Method

Sets the factor value.

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

Syntax

C#

public void SetFactor(
	MaterialFactorType type,
	double newValue
)

Visual Basic

Public Sub SetFactor ( _
	type As MaterialFactorType, _
	newValue As Double _
)

Visual C++

public:
void SetFactor(
	MaterialFactorType type, 
	double newValue
)

Parameters

type
Type: Autodesk.Civil.DatabaseServices.MaterialFactorType
newValue
Type: System.Double

Exceptions

ExceptionCondition
System.InvalidOperationException Thrown when:
  1. The factor type is not applicable.
  2. The value is not non zero positive double value for Cut and Fill, and out of range [1e-8, 1.0] for Refill.

See Also