RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Subelement

Subelement.SetParameterValue

Method
Description:
Sets a new parameter value of this subelement given a parameter id.
Syntax
public void SetParameterValue(
	ElementId parameterId,
	ParameterValue pValue
)
Parameters
Parameter Type Description
parameterId ElementId Parameter id.
pValue ParameterValue New value for the parameter.
Return Value
Exceptions
Exception Condition
ArgumentException parameterId does not identify a valid parameter of this subelement. -or- The parameter parameterId is not modifiable for this subelement.
ArgumentNullException A non-optional argument was null