# Constraints

**URL:** <https://discuss.avogadro.cc/t/constraints/776>\
**Category:** Development\
**Created:** [December 5, 2007, 3:41am UTC](https://discuss.avogadro.cc/t/constraints/776 "2007-12-05T03:41:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Vandermeersch](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/tim_vandermeersch/32/3479_2.png) [@Tim\_Vandermeersch](https://discuss.avogadro.cc/u/Tim_Vandermeersch)\
**Post date:** [December 5, 2007, 3:41am UTC](https://discuss.avogadro.cc/t/constraints/776/1 "2007-12-05T03:41:58Z")

</div>

You can now fix the position of atoms… The constraints are passed  
with the forcefield between AutoOpt and the FF Extention. You can add  
constraints, and delete all, delete single row doesn’t work yet. There  
is one problem tough: If you add or delete, you have to click on the  
table to see the changes. Am I forgetting some call to an update  
function?

I’ll try to finish the rest tommorow… Load/Save, Delete single row,  
and the OB implementation of the constraints

Tim

---

<div class="post-metadata">

**Author:** ![Tim\_Vandermeersch](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/tim_vandermeersch/32/3479_2.png) [@Tim\_Vandermeersch](https://discuss.avogadro.cc/u/Tim_Vandermeersch)\
**Post date:** [December 5, 2007, 2:10pm UTC](https://discuss.avogadro.cc/t/constraints/776/2 "2007-12-05T14:10:37Z")

</div>

On Dec 5, 2007 4:41 AM, Tim Vandermeersch [tim.vandermeersch@gmail.com](mailto:tim.vandermeersch@gmail.com) wrote:

> You can now fix the position of atoms… The constraints are passed  
> with the forcefield between AutoOpt and the FF Extention. You can add  
> constraints, and delete all, delete single row doesn’t work yet. There  
> is one problem tough: If you add or delete, you have to click on the  
> table to see the changes. Am I forgetting some call to an update  
> function?

Found the problem: had to emit dataChanged()…

> I’ll try to finish the rest tommorow… Load/Save, Delete single row,  
> and the OB implementation of the constraints
> 
> Tim
