# What is the script error in this line?

**URL:** https://forum.highend3d.com/t/what-is-the-script-error-in-this-line/496
**Category:** Maya
**Tags:** mel
**Created:** [September 15, 2011, 6:51pm UTC](https://forum.highend3d.com/t/what-is-the-script-error-in-this-line/496 "2011-09-15T18:51:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kronique\_](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/k/f17d59/32.png) [@kronique\_](https://forum.highend3d.com/u/kronique_)
#### Post date: [September 15, 2011, 6:51pm UTC](https://forum.highend3d.com/t/what-is-the-script-error-in-this-line/496/1 "2011-09-15T18:51:52Z")

</div>

I am using DT to learn mel. Is something in this line out-dated?

setAttr ($div + “.input2x”) $arcLen;

---

<div class="post-metadata">

### Author: ![ldunham1](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/l/eada6e/32.png) [@ldunham1](https://forum.highend3d.com/u/ldunham1)
#### Post date: [September 16, 2011, 7:39am UTC](https://forum.highend3d.com/t/what-is-the-script-error-in-this-line/496/2 "2011-09-16T07:39:35Z")

</div>

dont know what your trying to setAttr on but at first glance, try with capital X so;

setAttr ($div + “.input2X”) $arcLen;

---

<div class="post-metadata">

### Author: ![kronique\_](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/k/f17d59/32.png) [@kronique\_](https://forum.highend3d.com/u/kronique_)
#### Post date: [September 17, 2011, 10:59pm UTC](https://forum.highend3d.com/t/what-is-the-script-error-in-this-line/496/3 "2011-09-17T22:59:23Z")

</div>


