Sets multiple parameters to new values.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static List<Parameter> SetMultiple(
IList<Tuple<Parameter, ParameterValue>> values
)
Parameters
- values IList<Tuple<Parameter, ParameterValue>>
- A list of pairs of parameters and their corresponding values.
Return Value
List<Parameter>The list of parameters that were not set successfully, if any.
Exceptions
Remarks
This method is provided as a performance optimization. Note that it will throw an
exception if any parameter would throw an exception, so validate ahead of time.
See Also
Reference