# Kind of "apply" for a clamp to constraint?

I have a low-poly bridge model whose poles are positioned using Clamp To constraints and a corresponding curve:

What I am looking for is a way to remove the constraints but to keep the position of all objects at the same place it was with the active constraint. Something pretty similar to applying a modifier but for constraints.

Maybe I used just the wrong key words for searching but I haven't found any easy way to achieve this. Appears like I have to write a python script to get this done.

Anyone out there with a more elegant and simpler way to solve this?

Thanks, Kay.

UPDATE:

I did it the way iKlsR suggested and it worked fine. If others need this for a couple of objects, too: You can select all, do the Apply Visual Transform at once and then choose Clear Object Constraints Ctrl + Alt + C to remove all constrains in one step.

You can just apply the Visual Transform. (read about this some more on the wiki)

Bring up the Apply menu with Ctrl + A and choose Apply Visual Transform, or alternatively, select the object, press Space and type Apply Visual Transform and select the option.

You can then safely delete the constraint.

• BTW: Thanks for the <kbd> formatting trick. Got almost 5k rep on SO but never noticed that :-)
– Kay
Jun 13, 2013 at 14:46
• If "applying" only TrackTo constraint, it's possible also to clear constraint choosing Clear And Keep Transformation (Alt+T). Jul 17, 2016 at 16:08

This question now has a better answer in Blender 3.0 since you can now apply constraints like modifiers.
(see https://developer.blender.org/D10914)