Before the call to ReplaceElement, try calling mdlAssoc_getPoint, and use the returned location to update the cell origin. The dependency callback is likely un-happy with the initial/inconsistent state of your cell.
HTH
-B
Before the call to ReplaceElement, try calling mdlAssoc_getPoint, and use the returned location to update the cell origin. The dependency callback is likely un-happy with the initial/inconsistent state of your cell.
HTH
-B