ElementDataModel.UpdateParameter method
Updates a parameter that has been assigned at the model level. This parameter is not specific to any element.
public IParameter UpdateParameter(string schemaId, ParameterDataType value)
| parameter | description |
|---|---|
| TParameterDataType | The type of the parameter data. |
| schemaId | The schema ID of the parameter to update. |
| value | The new value for the parameter. |
Return Value
The updated parameter.
Exceptions
| exception | condition |
|---|---|
| NotFoundException | Thrown when the root asset is not present. |
| ArgumentNullException | Thrown when the schemaId or value is null. |
See Also
- interface IParameter
- class ParameterDataType
- class ElementDataModel
- namespace Autodesk.DataExchange.DataModels