|06 June 2013||#1|
Join Date: Jun 2013
Help! Python doesnt work for me
Hi guys apologies if i posted this twice,
Anyways I recently i have decided to learn the amazing python for my job as a character rigger and td.
i know a little bit of Mel already. anyways was excited to learn it, hence "was"
i was following a tutorial by Jeremy Ernst who takes you through making UI's in Maya with Python.
I have watched the first tutorial of the series a few times to make sure my code was the same.
and after saving it in the documents/maya/scripts folder.
I load up maya and try to boot up my new script i which have used wings IDE trial to make.
i select the Python tab and make sure the method is set to Python.
I click execute
Nothing! window does not appear??
no errors, no parsing errors or syntax
absolutely nothing happens.
so i figure the the tutorial is old, and I am using a newer version of Maya 2014, so i download the trial 2011 that the instructor Jeremy is using,
i cant seem to find anything in the plug in manager that needs to be enabled, i cant seem to find anybody with the same problem. the script manager is not picking up errors. Python is installed. but no ones home so to speak....and yes i have tried turning it on and off again
anyways if somebody could help me out here i would sincerely appreciate it
import maya.cmds as cmds
#check to see if your window exists
if cmds.window("exampleUI", exists = True):
#create our window
window = cmds.window("exampleUI", title = "Example UI", w = 300, h = 300, mnb = False, mxb = False, sizeable = False)
|06 June 2013||#5|
Join Date: Sep 2003
Thread automatically closed
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
|Thread Closed share thread|