ElementDataModel.DeleteParameter method
Deletes a parameter that has been assigned at the model level. This parameter is not specific to any element.
public bool DeleteParameter(string schemaId)
| parameter | description |
|---|---|
| schemaId | The schema ID of the parameter to delete. |
Return Value
Returns true if the parameter is deleted successfully; otherwise, false.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when the schemaId is null or empty. |
| NotFoundException | Thrown when the root asset is not present. |
See Also
- class ElementDataModel
- namespace Autodesk.DataExchange.DataModels