IMultiValueParamSetValueOptions 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: 23.0
Syntax Sub SetValueOptions (
doSetValue As Boolean,
Optional DefaultIndex As Integer = 0,
Optional NumericCompare As String = "Close"
)
void SetValueOptions(
bool doSetValue,
int DefaultIndex = 0,
string NumericCompare = "Close"
)
Parameters
- doSetValue
- Type: SystemBoolean
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: SystemInt32
For a string parameter, the index (0-based) in the list of the value to use by default. - NumericCompare (Optional)
- Type: SystemString
Not used.
See Also