Thread: Left overs
View Single Post
# 1 08-02-2005 , 03:51 PM
Velusion's Avatar
Registered User
Join Date: May 2004
Location: Utah, USA
Posts: 369

Left overs

I have a series of parented objects constrained to a series of other parented objects.

I put together a script that breaks the constraint connections, unparents all of the objects then re-assigns the parent-child relationships (in a new order), then re-establishes the constraints just the way they were before.

The bi-product of this action is a bunch of unused constraints cluttering up the outliner. When I broke the connection of the constrains I assumed that it would be like deleting them but it didn't. The connections were gone but the constrain nodes(?) stuck around.

What I end up doing is, occasionally going into the outliner and performing a little house cleaning. I select the unused constraints and delete them. Each time I run the script again, they start to build up again.

How can I break the constrains so that they are GONE?

By the way, the reason I break the constrains before unparenting is because I discovered that if I unparent objects that have a constraint on them, sometimes they shift position.

Any thoughts?