# Why Does It Break Tangents?

**URL:** https://forum.highend3d.com/t/why-does-it-break-tangents/2147
**Category:** Maya
**Tags:** mel
**Created:** [June 20, 2007, 3:01am UTC](https://forum.highend3d.com/t/why-does-it-break-tangents/2147 "2007-06-20T03:01:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![daniel-moreno](https://forum.highend3d.com/user_avatar/forum.highend3d.com/daniel-moreno/32/118_2.png) [@daniel-moreno](https://forum.highend3d.com/u/daniel-moreno)
#### Post date: [June 20, 2007, 3:01am UTC](https://forum.highend3d.com/t/why-does-it-break-tangents/2147/1 "2007-06-20T03:01:38Z")

</div>

Hi ima trying to write a script that will alter tangents in graph editor. but when i run it, it "breaks" the tangent of the graph. Why is that? its getting on my nerve,r i dont know what else to try. This is the line im using to change the tangent:

keyTangent -e -outWeight 1 -inWeight 1 -l 1 -r -t $t1 -inAngle ($anglefield \* 1) -attribute $a $s;

any clues? why does it break the tangents?
