Thread: MEL referencing
View Single Post
# 1 15-02-2005 , 04:59 PM
Velusion's Avatar
Registered User
Join Date: May 2004
Location: Utah, USA
Posts: 369

MEL referencing

I just ran into a problem with a couple of my MEL scripts when I tried to use them on a model that was referenced into the current scene.

The MEL script selects objects in the model's rigging and performs specific tasks on them. The problem is that the names of those objects have changes since they have been referenced. Instead of an object being called "rightfootgrab" it is being called "finishedmodel:rightfootgrab". Finishedmodel is the name of the scene that is being referenced. The MEL script is looking for "rightfootgrab"...

Please tell me that there is a way to write the script so that it will work on referenced models.. Otherwise, what is my option? Will I have to rename all of the objects that are being mentioned in the script?