Yep, I would follow the tips Marcus provided. There are only a few
differences to be aware of, and once you know them you should be able to
apply any Qt tutorial.
On Tue, Mar 6, 2018, 7:44 PM Marcus Ottosson wrote:
> I think so.
>
> The most common error you should find is..
>
> Traceback (most
am new to python..I try to create a button with a ui..for the first time
its ok.. if i try to run the script for the 2nd time its shows
myrigshortcut is not unique. please help me to rectify this
import maya.cmds as christy
if christy.dockControl('MyRigShortcut', exists=True):
christy.d
There are few things wrong with this code .. but for answering your
question
You where trying to create multiple instance with same name with this line
.."christy.dockControl( 'MyRigShortcut',area='left', content= myWindow ,
allowedArea='left' )"
that's why you got that error , to correct that you
I recently had to port all our stuff to support both PySide *&* PySide2,
ugh. Since this thread is along those lines, this is the solution I came
up with at the top of my modules since we have multiple versions of Maya
running:
Simple example import section:
> import maya.cmds as mc
> MAYA_VE
Came to think of a more recent tutorial for Maya and PySide2 by a really
good pipeline enginner over at Sony Imageworks, Dhruv Govil.
https://www.udemy.com/python-for-maya/
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
thanks kurian..
while running for second time am the rig shortcut window.. then it goes to
dock window.. so i deleted some lines.. now working its fine as per my
wish...
thanks alot for guiding me..
import maya.cmds as christy
if christy.dockControl('MyRigShortcutDock', q=1, ex=1) :
chri