Created
February 4, 2014 19:46
-
-
Save pumacamargo/8810922 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import maya.cmds as cmds | |
if not cmds.commandPort('localhost:6000', q=True): | |
cmds.commandPort(name='localhost:6000') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment