pwDesignerOptimizePositions
pwDesignerOptimizePositions(modelIndex)
Optimizes the distance between the species.