Hi,
I created a custom marking menu with some items wich 2 of them are custom scripts in python i made.
The actions of that marking menu that are already in maya worked nice but when i click in the custom scripts it shows that message: // Error: Line 1.0: invalid directive
I dont know what happens since the script in custom shelves (not marking menus), worked.
Replies
Or like this for when you want to call a main function :
I think the problem is what you said because i import the comands directly by dragging the button from the shell to the marking menu directly.