Share

IMultiValueParam.SetValueOptions Method

Sets options for behavior when a multivalue list is changed.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 30.0

Syntax

VB

Sub SetValueOptions ( 
	doSetValue As Boolean,
	Optional DefaultIndex As Integer = 0,
	Optional NumericCompare As String = "Close"
)

C#

void SetValueOptions(
	bool doSetValue,
	int DefaultIndex = 0,
	string NumericCompare = "Close"
)

Parameters

doSetValue
Type: System.Boolean
If this is true, when the list is changed then the parameter value will be changed (if necessary) to a value that is in the list.
DefaultIndex (Optional)
Type: System.Int32
For a string parameter, the index (0-based) in the list of the value to use by default.
NumericCompare (Optional)
Type: System.String
Not used.

See Also

Reference

Was this information helpful?