{"action":"closed","issue":{"url":"https://api.github.com/repos/LumaPictures/pymel/issues/101","labels_url":"https://api.github.com/repos/LumaPictures/pymel/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/LumaPictures/pymel/issues/101/comments","events_url":"https://api.github.com/repos/LumaPictures/pymel/issues/101/events","html_url":"https://github.com/LumaPictures/pymel/issues/101","id":100621025,"number":101,"title":"create a pymelUserSetup.py to circumvent load order issues in standalone","user":{"login":"chadrik","id":63251,"avatar_url":"https://avatars.githubusercontent.com/u/63251?v=3","gravatar_id":"","url":"https://api.github.com/users/chadrik","html_url":"https://github.com/chadrik","followers_url":"https://api.github.com/users/chadrik/followers","following_url":"https://api.github.com/users/chadrik/following{/other_user}","gists_url":"https://api.github.com/users/chadrik/gists{/gist_id}","starred_url":"https://api.github.com/users/chadrik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadrik/subscriptions","organizations_url":"https://api.github.com/users/chadrik/orgs","repos_url":"https://api.github.com/users/chadrik/repos","events_url":"https://api.github.com/users/chadrik/events{/privacy}","received_events_url":"https://api.github.com/users/chadrik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LumaPictures/pymel/labels/enhancement","name":"enhancement","color":"FFFFFF"},{"url":"https://api.github.com/repos/LumaPictures/pymel/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/LumaPictures/pymel/labels/wontfix","name":"wontfix","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/LumaPictures/pymel/milestones/4","html_url":"https://github.com/LumaPictures/pymel/milestones/0.9.x","labels_url":"https://api.github.com/repos/LumaPictures/pymel/milestones/4/labels","id":1252436,"number":4,"title":"0.9.x","description":null,"creator":{"login":"chadrik","id":63251,"avatar_url":"https://avatars.githubusercontent.com/u/63251?v=3","gravatar_id":"","url":"https://api.github.com/users/chadrik","html_url":"https://github.com/chadrik","followers_url":"https://api.github.com/users/chadrik/followers","following_url":"https://api.github.com/users/chadrik/following{/other_user}","gists_url":"https://api.github.com/users/chadrik/gists{/gist_id}","starred_url":"https://api.github.com/users/chadrik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadrik/subscriptions","organizations_url":"https://api.github.com/users/chadrik/orgs","repos_url":"https://api.github.com/users/chadrik/repos","events_url":"https://api.github.com/users/chadrik/events{/privacy}","received_events_url":"https://api.github.com/users/chadrik/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2015-08-12T19:47:47Z","updated_at":"2015-08-12T19:50:48Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-08-12T19:50:42Z","updated_at":"2015-08-12T19:50:48Z","closed_at":"2015-08-12T19:50:48Z","body":"_From [chad...@gmail.com](https://code.google.com/u/101505156600271307269/) on April 07, 2009 21:38:19_\n\nimporting and using pymel inside userSetup.py has unexpected and\r\nunintuitive results in standalone mode.  this is because the load order\r\ndiffers between standalone and gui:\r\n\r\ngui:\r\nmaya.cmds initialized by maya\r\nuserSetup.py imported\r\n  pymel imported\r\n\r\nstandalone:\r\npymel import begins\r\n  maya.standalone initialized by pymel.mayahook\r\n    userSetup.py imported (triggered by standalone initialization)\r\n      pymel used in userSetup.py (but it's not done importing!)\r\n  pymel.api and pymel.core initialized\r\npymel import completes\r\n\r\nwe should provide an alternative to userSetup.py for those users concerned\r\nwith parity between GUI and standalone.  this would allow us to delay the\r\nimporting of pymelUserSetup.py until after pymel.core is initialized.\r\n\r\npymel import begins\r\n  maya.standalone initialized by pymel.mayahook\r\n    userSetup.py imported (triggered by standalone initialization)\r\n  pymel.api and pymel.core initialized\r\n  pymelUserSetup.py imported\r\npymel import completes\n\n_Original issue: http://code.google.com/p/pymel/issues/detail?id=69_"}}