[Maya-Python] matrix attribute array issue

2021-11-01 Thread Todd Widup
hey all, I have a tool that has an array of transformation Matrix. a few random matrix will not allow the use to update the values, even though its not locked or connected on the input. this is in Maya 2020 btw. anyone seen issues like that? -- Todd Widup Creature TD / Technical Artist

[Maya-Python] adjustable control in PySide

2021-07-24 Thread Todd Widup
is there a widget os something that would allow you to specify where the stretch occurs and to adjust size of panels in the UI? -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Progra

Re: [Maya-Python] C++ api issue

2021-06-25 Thread Todd Widup
so tracked it to the compound, its failing to add it..thanks for the pointer Marcus, not to track down what is causing the fail On Fri, Jun 25, 2021 at 11:22 AM Todd Widup wrote: > caught that last night and fixed it, still dont get the compound > > On Thu, Jun 24, 2021 at 10:41

Re: [Maya-Python] C++ api issue

2021-06-25 Thread Todd Widup
r each call. It’ll tell you when any > of them fails, which in this case is likely the second call to adding > poseDriver. > > On Fri, 25 Jun 2021 at 05:53, Todd Widup wrote: > >> MStatus ArsenalPoseManager2::initialize() >> { >> MStatus status; >&g

[Maya-Python] C++ api issue

2021-06-24 Thread Todd Widup
ttr.setUsesArrayDataBuilder(false); addAttribute(poseData); return MS::kSuccess; } that was working on the build I did the other day, but all of a sudden its not adding the compound attribute, no error or anything just not there. Any thoughts as to why? -- Todd Widup Creature TD / Techni

Re: [Maya-Python] Re: skin wieights at a UV position

2021-06-18 Thread Todd Widup
gt;> >> list.getDependNode(0, sphereObj) >> list.getDependNode(1, planeObj) >> >> sphereMesh = OpenMaya.MFnMesh(sphereObj) # errors out here with # >> RuntimeError: (kInvalidParameter): Object is incompatible with this method >> # >> planeMesh = OpenMaya.MFnMesh(pla

Re: [Maya-Python] Re: skin wieights at a UV position

2021-06-17 Thread Todd Widup
(sphereObj) # errors out here with # RuntimeError: (kInvalidParameter): Object is incompatible with this method # planeMesh = OpenMaya.MFnMesh(planeObj) On Thu, Jun 17, 2021 at 2:59 PM Todd Widup wrote: > that would work :) > wasnt thinking about getting faces > > > On Thu, Ju

Re: [Maya-Python] Re: skin wieights at a UV position

2021-06-17 Thread Todd Widup
> I believe maya is using barycentric coordinates, that would be an easy >>> way of doing what you need (although the "UVs" part is not mandatory) >>> >>> Le jeudi 17 juin 2021 à 17:25:14 UTC-4, todd@gmail.com a écrit : >>> >>>

Re: [Maya-Python] Re: skin wieights at a UV position

2021-06-17 Thread Todd Widup
> Le jeudi 17 juin 2021 à 17:25:14 UTC-4, todd.wi...@gmail.com a écrit : > >> hey all, any good way of getting skin weights at a UV position (not a >> vtx) in python? >> >> -- >> Todd Widup >> Creature TD / Technical Artist >> todd@gmail.com &g

[Maya-Python] skin wieights at a UV position

2021-06-17 Thread Todd Widup
hey all, any good way of getting skin weights at a UV position (not a vtx) in python? -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To u

Re: [Maya-Python] maya API ?? reading an external json file

2021-05-23 Thread Todd Widup
s, which is probably what you want > anyway, since it can only ever be updated manually by the user or Python > (rather than a connection). If that doesn’t work, then another option is to > implement MNodeMessage::addNodeDirtyPlugCallback to check for it yourself. > > On Sun, 23 May 2021

Re: [Maya-Python] maya API ?? reading an external json file

2021-05-22 Thread Todd Widup
/tutorial/index.html >>>>> >>>> >>>> Boost is a super heavy dependency. These days pybind11 might be a >>>> better choice if your project is C++ centric: >>>> https://github.com/pybind/pybind11 >>>> >>>> It's head

Re: [Maya-Python] maya API ?? reading an external json file

2021-05-18 Thread Todd Widup
l#af47e37db0e53940620c6cd1fe41d> > or you can embed another Python yourself and call that. The latter would > have the benefit of not polluting the global Python namespace and memory, > and is something you could use to spin up multiple Python interpreters in > parallel if your code is

[Maya-Python] maya API ?? reading an external json file

2021-05-18 Thread Todd Widup
run python at all? -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an

[Maya-Python] Maya 2022 and output windows

2021-05-06 Thread Todd Widup
2022 now? -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: [Maya-Python] numpy, pylab, matplotlib inside of Maya

2021-03-31 Thread Todd Widup
gt; So to install pip in in maya you have to download the get-pip.py >>>>> script from here: >>>>> https://bootstrap.pypa.io/pip/2.7/get-pip.py >>>>> >>>>> >>>>> The easiest way is to place that in your maya bin directory

[Maya-Python] numpy, pylab, matplotlib inside of Maya

2021-03-30 Thread Todd Widup
what is the easiest way of getting them running correctly inside of Maya? or even Pip for that matter? thanks -todd -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Aut

[Maya-Python] pose interp nodes

2021-02-01 Thread Todd Widup
hey all... there is no command specific for it, has anyone got a helpful hint on how to add a new pose to an existing now? trying to automate a setup for it so our assets are consistent -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because

Re: [Maya-Python] annotation pop up over QComboBox item

2020-10-24 Thread Todd Widup
lol..teach me to actually try it...I see tooltip and I immediately think the tooltip panel in Maya at the botton of the UI lol, ill try it thanks On Fri, Oct 23, 2020 at 5:01 PM Justin Israel wrote: > > > On Sat, Oct 24, 2020, 12:51 PM Todd Widup wrote: > >> anyone ever d

[Maya-Python] annotation pop up over QComboBox item

2020-10-23 Thread Todd Widup
anyone ever done something like that? -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emai

[Maya-Python] animLayers

2020-08-13 Thread Todd Widup
channelbox attrs for c in "tr": for a in "xyz": attr = pm.PyNode("{0}.{1}{2}".format(str(x), c, a)) layer.addMember(attr) # doesnt work at all that doesnt work at all any suggestions? -- Todd Widup

[Maya-Python] plugin fails to initialize

2020-03-03 Thread Todd Widup
, but none of the ones in teh plugin cpp print at all -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiv

Re: [Maya-Python] Maya API

2020-02-20 Thread Todd Widup
ou could also be talking about cmds.addAttr which would be different, > and it also depends on when and how you get a conversion node. > > A reproducible would help. > > On Thu, 20 Feb 2020 at 19:56, Jesse Kielman > wrote: > >> Im pretty sure it's MAngle >>

[Maya-Python] Maya API

2020-02-20 Thread Todd Widup
hey..what attribute numericData type do you need to you dont get a unit conversion node for rotations? -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya&q

Re: [Maya-Python] Re: C++ array attr question

2020-02-10 Thread Todd Widup
not sure...when I had tried it previously it didnt work...this time it did...my example had a small typo and I fixed it On Mon, Feb 10, 2020 at 9:36 PM Ravi Jagannadhan wrote: > What was the issue? > > — > “There are no dumb questions” - Carl Sagan. > > On Feb 10, 2020, at

[Maya-Python] Re: C++ array attr question

2020-02-10 Thread Todd Widup
well..got it working On Mon, Feb 10, 2020 at 5:19 PM Todd Widup wrote: > I am trying to add an array attr to my node, thats easy...but I am having > an issue when I make that attr a vector > > aInValueX2 = nAttr.create("inX2", "ix2", MFnNumericData::

[Maya-Python] C++ array attr question

2020-02-10 Thread Todd Widup
lBox(true); addAttribute(aInValue); This is not adding the attribute in the node at all. I can add each channel as an array, but when I make them the child of an attr and that attr an array it does nothing..it does compile fine, just no in2 attr in Maya...any suggestions? -- Todd Widup Creature T

Re: [Maya-Python] MPlug issue

2020-01-10 Thread Todd Widup
pp_example_html > > > > On Fri, Jan 10, 2020 at 2:52 PM Todd Widup wrote: > >> MDGContext timeOff(time - 1.0); >> MPlug inPrev(myNode, aInValue); >> MMatrix inputPrev; >> inPrev.getValue(inputPrev, timeOff); >> >> I am doing this just fine on a float

[Maya-Python] MPlug issue

2020-01-09 Thread Todd Widup
ideas? -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_i

[Maya-Python] resize window in PySide2 event

2019-05-18 Thread Todd Widup
anyone have a link or an example of using events and resizing a window? basically, I want to set up an event trigger when the window is resized to adjust the size of a panel to it doesnt get too big -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message

[Maya-Python] skin weight values

2018-10-02 Thread Todd Widup
ns at where to start looking? -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, se

Re: [Maya-Python] plug-in "anti hacking" measures.

2018-08-03 Thread Todd Widup
inside_maya/b90589675e1c74a088ac088f48132523%40haggi.de?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you a

Re: [Maya-Python] mirroring a matrix without busting scale

2018-04-25 Thread Todd Widup
s will probably > be slower to run ( lots of creating/ destroying constraints) but the math > knowledge required is minimal. > > Scale shouldn’t ever need to be mirrored (scale values on a “correctly” set > up rig should be identical left to right, straight up copy and paste) > On

[Maya-Python] mirroring a matrix without busting scale

2018-04-25 Thread Todd Widup
I RARELY do matrix math and do to a bug in an animation tool, I find myself with tasked at writing a mirror pose tool for an animation rig. any pointers? -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google

Re: [Maya-Python] Re: P4python doesn't work under maya 2017

2017-09-28 Thread Todd Widup
message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to python_inside_maya+unsubscr...@googlegroups.com. > To view this discussion on the web visit h

Re: [Maya-Python] Re: Import blendShape attribute map

2017-09-13 Thread Todd Widup
t; group. > To unsubscribe from this group and stop receiving emails from it, send an > email to python_inside_maya+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/python_inside_maya/b041d046-df8f-405e-85a2- > ac5420de8

Re: [Maya-Python] QTabWidget and current tabs

2017-08-08 Thread Todd Widup
ill print leg, >> and if I select arm again, it will print arm this time. >> >> very first selection will print correctly, the rest are always 1 >> selection behind >> >> -- >> Todd Widup >> Creature TD / Technical Artist >> todd.wi...@gmail

[Maya-Python] QTabWidget and current tabs

2017-08-08 Thread Todd Widup
, the rest are always 1 selection behind -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emai

Re: [Maya-Python] Re: PySide issue

2017-07-30 Thread Todd Widup
:36, Todd Widup wrote: > >> ok bit more info on this...its not from the hiding/showing of the >> elements. as I switched to a tab layout for the parent, and it still >> happens >> >> >> >> On Thu, Jul 27, 2017 at 9:02 PM, Todd Widup wrote: >> >

[Maya-Python] Pyside layouts

2017-07-29 Thread Todd Widup
well or do you have to exclusively use layouts? -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiv

[Maya-Python] Re: PySide issue

2017-07-29 Thread Todd Widup
ok bit more info on this...its not from the hiding/showing of the elements. as I switched to a tab layout for the parent, and it still happens On Thu, Jul 27, 2017 at 9:02 PM, Todd Widup wrote: > I have a treeView that I use to select parts of a rig system. > > when an item is sele

[Maya-Python] PySide issue

2017-07-27 Thread Todd Widup
contained as the children of one QWidget and thats what gets hidden and shown. any ideas what is causing this bug? -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Aut

Re: [Maya-Python] pyc file issue

2017-05-28 Thread Todd Widup
was a py and Bob was a PYC..you think it would compile like I expect? On Sun, May 28, 2017 at 3:27 PM, Justin Israel wrote: > > > On Mon, May 29, 2017, 10:22 AM Todd Widup wrote: > >> justin's correct >> > > Did that suggestion to use the globals end up workin

Re: [Maya-Python] pyc file issue

2017-05-28 Thread Todd Widup
4% > 3DiXSDtJatEe9Bo3wPXNjEkyE0dp%2Bg%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0A07nAE3CLKWUi4%3DiXSDtJatEe9Bo3wPXNjEkyE0dp%2Bg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com

Re: [Maya-Python] pyc file issue

2017-05-27 Thread Todd Widup
is called by core.py in core.py is where it seems to get hard coded to the path I have things sourced from On Fri, May 26, 2017 at 10:02 PM, Justin Israel wrote: > > > On Sat, May 27, 2017, 3:12 PM Todd Widup wrote: > >> so I have a few tools I gave over to a friend..gave

[Maya-Python] pyc file issue

2017-05-26 Thread Todd Widup
the path where I have the tools on my local machine, not where he has them. so...do PYC files store info like that? I always thought it was strictly a compiled version of the py file, with nothing else -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this

Re: [Maya-Python] right click menu in treeView

2017-05-10 Thread Todd Widup
o I guessing it's something in the > connected slot method, often the menu may be off screen or the actions not > added correctly. > > -Dave > > On Wed, May 10, 2017 at 7:12 AM, Todd Widup wrote: > >> I am trying to get a right click context menu working in

[Maya-Python] right click menu in treeView

2017-05-09 Thread Todd Widup
clicked on a tree item, but nothing is executed. any suggestions where to start looking -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To u

Re: [Maya-Python] Re: project paths

2017-05-02 Thread Todd Widup
ct paths so that it >> would strip out the drive and root and just use the perforce directories as >> teh root for the project? ...in our case, Interactive >> >> thanks >> -todd >> >> -- >> Todd Widup >> Creature TD / Technical Artist >>

[Maya-Python] project paths

2017-05-02 Thread Todd Widup
the project paths so that it would strip out the drive and root and just use the perforce directories as teh root for the project? ...in our case, Interactive thanks -todd -- Todd Widup Creature TD / Technical Artist todd.wi...@gmail.com -- You received this message because you are subscribed

Re: [Maya-Python] rotate difference in Mel and python

2016-02-26 Thread Todd Widup
lol well..didnt know you could do rotate.set...normally use setAttr for that part. On Fri, Feb 26, 2016 at 8:12 AM, Geordie Martinez wrote: > Don't be afraid of change , Todd! > pm.iLoveYou().rotate.set((0,45,0) > > > On Friday, February 26, 2016, Todd Widup wrote: >

Re: [Maya-Python] rotate difference in Mel and python

2016-02-26 Thread Todd Widup
st use the method on the > object to affect rotation. > > node.rotate.set((0,45,0)) > > If you're going to use pymel, take advantage of OOP. > > > On Friday, February 26, 2016, Todd Widup wrote: > >> figured out what it is >> >> if I do >

Re: [Maya-Python] rotate difference in Mel and python

2016-02-26 Thread Todd Widup
figured out what it is if I do pm.rotate(0,45,0,r=1,os=1) its actually rotating 45 on x, not y..its thinking that first 0 is an object, but it still applies it to the selected node, so that is a bug On Fri, Feb 26, 2016 at 7:33 AM, Todd Widup wrote: > hmmm strange...anyways..in a list here,

Re: [Maya-Python] rotate difference in Mel and python

2016-02-26 Thread Todd Widup
To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/7234f8b3-528d-495e-ad39-755d5a9224ee%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- Todd Widup Creature TD / Technical Artist t...@toddwidup.com todd.wi...

Re: [Maya-Python] rotate difference in Mel and python

2016-02-25 Thread Todd Widup
s=True) > it is flexible. > ​ > > On Thu, Feb 25, 2016 at 1:57 PM, Todd Widup wrote: > >> hye Damon, I would normally...was just testing something and found this >> bug/strange behavior >> >> On Thu, Feb 25, 2016 at 1:55 PM, damon shelton >> wrote: >&

Re: [Maya-Python] rotate difference in Mel and python

2016-02-25 Thread Todd Widup
hye Damon, I would normally...was just testing something and found this bug/strange behavior On Thu, Feb 25, 2016 at 1:55 PM, damon shelton wrote: > Use xform 😀 > > > On Thursday, February 25, 2016, Todd Widup wrote: > >> the point being though...I can get it to work in

Re: [Maya-Python] rotate difference in Mel and python

2016-02-25 Thread Todd Widup
the point being though...I can get it to work in either...but the same values actually rotate differently between mel/maya.cmds and pymel On Thu, Feb 25, 2016 at 1:41 PM, Todd Widup wrote: > it works without it as well..atleast here is it and errors on a list > > On Thu, Feb 25, 2016 a

Re: [Maya-Python] rotate difference in Mel and python

2016-02-25 Thread Todd Widup
it works without it as well..atleast here is it and errors on a list On Thu, Feb 25, 2016 at 1:27 PM, Kurian O.S wrote: > rotate take a list > > > pm.rotate([0,45,0], r=1, os=1) > > On Thu, Feb 25, 2016 at 1:19 PM, Todd Widup wrote: > >> mel and maya.cmds

[Maya-Python] rotate difference in Mel and python

2016-02-25 Thread Todd Widup
mel and maya.cmds rotate -r -os 0 45 0; works different than pymel pm.rotate(0,45,0,r=1,os=1) any ideas why and what is going on with it? -- Todd Widup Creature TD / Technical Artist t...@toddwidup.com todd.wi...@gmail.com www.toddwidup.com -- You received this message because you are

Re: [Maya-Python] python modules

2016-02-11 Thread Todd Widup
.py", line > 410, in > > # import P4API > > # ImportError: DLL load failed: The specified module could not be found. // > > > On Wednesday, January 6, 2016 at 4:28:25 PM UTC-8, Justin Israel wrote: >> >> Should be 64-bit for any of the recent versions of M

Re: [Maya-Python] python modules

2016-01-06 Thread Todd Widup
hmm...ok, discussing with our engineers...is Maya's Python 32 or 64 bit? On Wed, Jan 6, 2016 at 3:51 PM, Todd Widup wrote: > ok.. will get our engineers to recompile the perforce tools > > On Wed, Jan 6, 2016 at 3:41 PM, Justin Israel > wrote: > >> I'm not

Re: [Maya-Python] python modules

2016-01-06 Thread Todd Widup
As for your perforce module... compiled extensions have to be compiled to > match Maya. So you may have to rebuild it against Maya's own python. > > > On Thu, Jan 7, 2016 at 12:10 PM Todd Widup wrote: > >> so I have to set the lib/site-package path then would be nic

Re: [Maya-Python] python modules

2016-01-06 Thread Todd Widup
our Maya.env or your userSetup.py to include extra paths? > > On Thu, Jan 7, 2016 at 12:05 PM Todd Widup wrote: > >> so Pip and P4python are already installed on my Python 27 install.. my >> dirs for Python27 and Python27/Scripts are already in my path. both of >>

Re: [Maya-Python] python modules

2016-01-06 Thread Todd Widup
see/use modules that are installed to teh lib/site-package director of a python 27 install. On Wed, Jan 6, 2016 at 1:55 PM, Todd Widup wrote: > ok, was hoping that would work for those..though there seems to be an > issue with the P4 one I got > > > On Wed, Jan 6, 2016 at 1:50 PM

Re: [Maya-Python] python modules

2016-01-06 Thread Todd Widup
ok, was hoping that would work for those..though there seems to be an issue with the P4 one I got On Wed, Jan 6, 2016 at 1:50 PM, Justin Israel wrote: > Just add extra paths to your PYTHONPATH in the Maya.env or sys.path in > userSetup.py? > > On Thu, Jan 7, 2016 at 10:44 AM Todd

[Maya-Python] python modules

2016-01-06 Thread Todd Widup
so...how do I get site packages, like Pip and P4Python installed correctly for Maya Py to see and use? can they just sit in the local system install and scripts directory (the default Python27 install that is) or do they have to be in the Maya python dir int eh maya install dir? -- Todd Widup

Re: [Maya-Python] Re: mel global vars

2015-10-21 Thread Todd Widup
global vars anyplace? >> globals like $gShelfForm or $gShelfTopLevel, etc >> >> -- >> Todd Widup >> Creature TD / Technical Artist >> to...@toddwidup.com >> todd@gmail.com >> www.toddwidup.com >> > -- > You received this message because you a

[Maya-Python] mel global vars

2015-10-21 Thread Todd Widup
does pyMel store/add the maya global vars anyplace? globals like $gShelfForm or $gShelfTopLevel, etc -- Todd Widup Creature TD / Technical Artist t...@toddwidup.com todd.wi...@gmail.com www.toddwidup.com -- You received this message because you are subscribed to the Google Groups "P

Re: [Maya-Python] getting all QT/PySide Windows

2015-09-16 Thread Todd Widup
widgets actually parented to the MainWindow. > > > On Thu, Sep 17, 2015 at 9:57 AM Todd Widup wrote: > >> I saw findWindow, but it only works, from what I can see, if you know a >> windows objectName I was looking for something, where say I have 5 PySide >> windows op

Re: [Maya-Python] getting all QT/PySide Windows

2015-09-16 Thread Todd Widup
ustin Israel wrote: > MQtUtil has the findWindow() function. Once you have an actual Qt object, > you have access to all the QObject methods like findChild(), > findChildren(). What exact query would you like to be able to perform? > > > On Thu, Sep 17, 2015 at 9:36 AM Todd Widup w

[Maya-Python] getting all QT/PySide Windows

2015-09-16 Thread Todd Widup
looking thru MQtUtil and the python, pymel commands, I am not finding anything like lsUI that will actually work with Qt or PySide windows. is there anything? -- Todd Widup Creature TD / Technical Artist t...@toddwidup.com todd.wi...@gmail.com www.toddwidup.com -- You received this message

Re: [Maya-Python] system functions

2015-09-01 Thread Todd Widup
f my_system_function(): >>> print("Doing something for 5 seconds..") >>> time.sleep(5) >>> print("Done!") >>> >>> threading.Thread(target=my_system_function).start() >>> >>> ​ >>> >>> On 1 September 2

[Maya-Python] system functions

2015-09-01 Thread Todd Widup
. thanks -todd -- Todd Widup Creature TD / Technical Artist t...@toddwidup.com todd.wi...@gmail.com www.toddwidup.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiv

Re: [Maya-Python] Maya api input in time

2015-07-18 Thread Todd Widup
tribute: through the method `MPlug::getValue()`. > > > http://help.autodesk.com/cloudhelp/2016/ENU/Maya-SDK/cpp_ref/class_m_plug.html#a64f7093bfde5c5eb9d89b32635b772aa > > > On 19 July 2015 at 09:45, Todd Widup wrote: > >> Working on a c++ pluginDone this once like

[Maya-Python] Maya api input in time

2015-07-18 Thread Todd Widup
Working on a c++ pluginDone this once like 6 years ago How do I query the value of an input connection in time in the api? Sent from my iPhone -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from thi

Re: [Maya-Python] PySide : adjustable panels/widgets

2015-07-09 Thread Todd Widup
On Thu, 9 Jul 2015 5:01 PM Todd Widup wrote: > >> hey guys.. >> thinking about incorporating an adjustable sections in this GUI..to allow >> the user to stretch one treeView out a bit more. is there anything built >> into PySide for hanlding this or would it be th

[Maya-Python] PySide : adjustable panels/widgets

2015-07-08 Thread Todd Widup
adjust the side of the panel based on that I am currently not using a layout as I couldn't find any that would match what I needed. cheers -todd -- Todd Widup Creature TD / Technical Artist t...@toddwidup.com todd.wi...@gmail.com www.toddwidup.com -- You received this message because yo

Re: [Maya-Python] layout question

2015-06-30 Thread Todd Widup
found it and used it...and it works :D thanks all, not sure how I missed that when I was going thru everything On Tue, Jun 30, 2015 at 10:36 AM, Todd Widup wrote: > It's the set parent I'm sure > Been looking all over for a flag function that does it but haven't found &

Re: [Maya-Python] layout question

2015-06-30 Thread Todd Widup
that are not in the layout? Do you have a sample snippet? There shouldn't be > a trick. All of the child widgets should show up in the dialog at the > absolute parent widget position. > >> On Tue, Jun 30, 2015 at 2:39 PM Todd Widup wrote: >> hey all...is there some

Re: [Maya-Python] layout question

2015-06-29 Thread Todd Widup
hey all...is there some trick or function I need to use/call for a layout-less dialog to work and display my widgets? mie neer show up...but the dialog opens with no errors On Mon, Jun 29, 2015 at 6:59 PM, Todd Widup wrote: > Thanks Justin...hmmm, might try it without again..I tried it o

Re: [Maya-Python] layout question

2015-06-29 Thread Todd Widup
Thanks Justin...hmmm, might try it without again..I tried it once, and it didn't work, but will see, thanks On Sun, Jun 28, 2015 at 8:01 PM, Justin Israel wrote: > > > On Mon, Jun 29, 2015 at 2:49 PM Todd Widup wrote: > >> so since I am still getting use to this..I jus

[Maya-Python] layout question

2015-06-28 Thread Todd Widup
..correct? -- Todd Widup Creature TD / Technical Artist t...@toddwidup.com todd.wi...@gmail.com www.toddwidup.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving e

Re: [Maya-Python] images for buttons

2015-06-22 Thread Todd Widup
ght)) > > > On Mon, Jun 22, 2015 at 9:16 PM, Justin Israel > wrote: > >> Are you looking for QPushButton.setIconSize(QSize) ? Or are you trying >> to transform the source image before setting it on the button? >> >> On Tue, Jun 23, 2015 at 3:43 PM Todd Widu

Re: [Maya-Python] images for buttons

2015-06-22 Thread Todd Widup
ok, so the image shows up, but I need to control the size, only option I have found is the scale method, which looks to need 2QtInt but its not scaling the image. On Sat, Jun 20, 2015 at 11:32 AM, Todd Widup wrote: > awesome..thanks...that's finally working. I > > On Fri, Jun 19

[Maya-Python] Re: APi/C++ question

2015-06-20 Thread Todd Widup
might be good to know...but since Maya 2015 is built on VS 2012, I will just compile fo4 2015/2016 On Sat, Jun 20, 2015 at 4:18 PM, Todd Widup wrote: > ok..stupid me when I set up this workstation, I swore a installed visual > studio 2010 so I could compile plugins for 2014..but I only h

[Maya-Python] APi/C++ question

2015-06-20 Thread Todd Widup
suggestions? -- Todd Widup Creature TD / Technical Artist t...@toddwidup.com todd.wi...@gmail.com www.toddwidup.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emai

Re: [Maya-Python] images for buttons

2015-06-20 Thread Todd Widup
t; On Fri, Jun 19, 2015 at 9:29 PM, Todd Widup wrote: > >> I have both Just copied paste was wrong >> >> Sent from my iPhone >> >> On Jun 19, 2015, at 9:09 PM, Kurian O.S wrote: >> >> self.cylinder_btn.setIcon(icon) to self.cube_btn.setIcon(icon) ? >

Re: [Maya-Python] images for buttons

2015-06-19 Thread Todd Widup
I have both Just copied paste was wrong Sent from my iPhone > On Jun 19, 2015, at 9:09 PM, Kurian O.S wrote: > > self.cylinder_btn.setIcon(icon) to self.cube_btn.setIcon(icon) ? > >> On Fri, Jun 19, 2015 at 8:41 PM, Todd Widup wrote: >> hey guys >> >

[Maya-Python] images for buttons

2015-06-19 Thread Todd Widup
setIcon(icon) ive tried that and I have tried setting the style sheet background-image and neither work. any suggestions? -- Todd Widup Creature TD / Technical Artist t...@toddwidup.com todd.wi...@gmail.com www.toddwidup.com -- You received this message because you are subscribed to t

Re: [Maya-Python] precise placement of elements in PySide/PyQT???

2015-06-13 Thread Todd Widup
you can customize the margins, padding, colors, etc >> easily too. >> >> >> Eric Thivierge >> http://www.ethivierge.com >> >> On Sat, Jun 13, 2015 at 8:21 PM, Todd Widup wrote: >> >>> hey Eric..yeah just want to make sure things

Re: [Maya-Python] precise placement of elements in PySide/PyQT???

2015-06-13 Thread Todd Widup
odd, > > What kind of problems are you having lining up the widgets where you would > like them? Any sample images / code we could help with? > > Eric T. > > > Eric Thivierge > http://www.ethivierge.com > > On Sat, Jun 13, 2015 at

[Maya-Python] precise placement of elements in PySide/PyQT???

2015-06-13 Thread Todd Widup
hat I I see it can do though, and its nice writing a UI that usable in Maya, Mari, and Houdini thanks -todd -- Todd Widup Creature TD / Technical Artist t...@toddwidup.com todd.wi...@gmail.com www.toddwidup.com -- You received this message because you are subscribed to the Google Groups &q

Re: [Maya-Python] Re: setting preferences with pymel

2015-06-11 Thread Todd Widup
t; On Thu, Jun 11, 2015, 11:17 AM Todd Widup wrote: > >> found a way to hack around what I needed to do..but still curious if >> there is anything built into pymel to handle/manipulate the user prefs >> >> On Thu, Jun 11, 2015 at 10:51 AM, Todd Widup >> wrot

[Maya-Python] Re: setting preferences with pymel

2015-06-11 Thread Todd Widup
found a way to hack around what I needed to do..but still curious if there is anything built into pymel to handle/manipulate the user prefs On Thu, Jun 11, 2015 at 10:51 AM, Todd Widup wrote: > is there a way to set a few user preferences with PyMel? > > -- > Todd Widup &

[Maya-Python] Re: setting projects

2015-06-11 Thread Todd Widup
duh..workspace...been one of those mornings On Thu, Jun 11, 2015 at 10:30 AM, Todd Widup wrote: > I need to automate setting up the Maya project directory. > > the issue...I found SetProject in pymel, BUT there is no documentation on > it...even passing a directory path to it, it s

[Maya-Python] setting preferences with pymel

2015-06-11 Thread Todd Widup
is there a way to set a few user preferences with PyMel? -- Todd Widup Creature TD / Technical Artist t...@toddwidup.com todd.wi...@gmail.com www.toddwidup.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya"

[Maya-Python] setting projects

2015-06-11 Thread Todd Widup
tions really seem to provide insight on how to set it thanks -todd -- Todd Widup Creature TD / Technical Artist t...@toddwidup.com todd.wi...@gmail.com www.toddwidup.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya&

[Maya-Python] Re: UI question

2015-06-10 Thread Todd Widup
got it with PyUI On Wed, Jun 10, 2015 at 10:55 AM, Todd Widup wrote: > stupid question for some throw away work > > I am prototyping a GUI using the standard Maya commands > > Is it possible to get a UI element as a PyMel object? > > what I mean is I am creating it via pym

[Maya-Python] UI question

2015-06-10 Thread Todd Widup
retrieve the name as a Unicode... is there a way to convert that to a PyMel object on normal nodes in Maya, PyNode works but it doesn't on UIs, so is there an equivalent? -- Todd Widup Creature TD / Technical Artist t...@toddwidup.com todd.wi...@gmail.com www.toddwidup.com -- You received

Re: [Maya-Python] RMB maya menu

2015-06-03 Thread Todd Widup
no, the RMB context sensitive menus On Wed, Jun 3, 2015 at 3:24 PM, Joe Weidenbach wrote: > Are you talking about Marking Menus? > > On Wed, Jun 3, 2015 at 3:21 PM, Todd Widup wrote: > >> so you know the RMB menu you get..whats it called and any pointers on >&g

  1   2   >