# Looking to set Parameter value with Python. Am I using the correct command?

**URL:** <https://forum.dynamobim.com/t/looking-to-set-parameter-value-with-python-am-i-using-the-correct-command/35711>\
**Category:** Revit\
**Tags:** revit, python, dynamo\
**Created:** [May 8, 2019, 2:33pm UTC](https://forum.dynamobim.com/t/looking-to-set-parameter-value-with-python-am-i-using-the-correct-command/35711 "2019-05-08T14:33:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![t.large](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/t.large/32/89412_2.png) [@t.large](https://forum.dynamobim.com/u/t.large)\
**Post date:** [May 8, 2019, 3:26pm UTC](https://forum.dynamobim.com/t/looking-to-set-parameter-value-with-python-am-i-using-the-correct-command/35711/2 "2019-05-08T15:26:03Z")

</div>

Aaand I’ve found the problem. My code above is attempting to redefine the ‘Comments’ value from the dictionary “Parameters” and it cannot do that because it is built in. The correct code is below:

`ELM.SetParameterByName("Comments", "A")`

---

_[View the full topic](https://forum.dynamobim.com/t/looking-to-set-parameter-value-with-python-am-i-using-the-correct-command/35711)._
