Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Programming (https://simplymaya.com/forum/forumdisplay.php?f=32)
-   -   Writing Script for baking FK-Controllers to Locators for Spaceswitching (https://simplymaya.com/forum/showthread.php?t=62305)

fifoux 25-02-2021 11:19 AM

Writing Script for baking FK-Controllers to Locators for Spaceswitching
 
Hello everyone,
first time posting here and I would really appreciate your help.
Iím writing one of my first scripts in MEL and I encountering a problem. The idea of the script is that you can select a chain of FK-Controllers (like a tail for example) bake them to locators that are connected with constraints so you can animate these in worldspace and bake them back.

Both Script parts work allright when I execute them seperatly but when I try to access them with the UI I wrote may gives me this error:
// Error: line 0: No object matches name: //

Can anyone tell me where the error happens? Iím quiet lost because itís telling me itís the line 0

This is the script:


All times are GMT. The time now is 10:48 AM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Simply Maya 2018