IElementDataModel.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 |
|---|---|
| schemaId | The schema ID of the parameter to update. |
| value | The new value for the parameter. |
Return Value
The updated parameter, or null when no matching parameter exists or the value is invalid.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when schemaId or value is null or empty. |
| NotFoundException | Thrown when the root asset is not present. |
See Also
- interface IParameter
- class ParameterDataType
- interface IElementDataModel
- namespace Autodesk.DataExchange.Interface