jcWindowCreator 1.0.3 for Maya (maya script)

Create a window in Maya and generate the code

Q/A

Create a command

Date:09/07/2013
Submitted by:Jose Cuenca Jose Cuenca
Hi !

 After the last modification of the script, now you don't get any error creating the command from the attribute. The best example is:  create a button, go to the attribute editor and write in the "Command"  attribute:  print "Hello World"

Then test the window, the button works fine. Then encode the window, copy the code and execute the code. The button works fine.

Before there was a syntax error trying to encode the window, and you had to add a \  every time you wrote a quote ".

So, the old syntax was:   print \"Hello World\" 
The new syntax is      :    print "Hello World"         (straight ,without any backslash or special character)

  I hope this explanation and the video help to understand how to use the tool.

   Regards!! 

Post a reply:

Sign in