[Maya-Python] Re: MImage pixels...

2009-02-23 Thread Ravi Jagannadhan
Maybe the MScriptUtil class can help you here? It's a python wrapper for pointers/references. On Mon, Feb 23, 2009 at 4:06 PM, jbrav...@gmail.com jbrav...@gmail.com wrote: I'm trying to execute this bit of code I found in one of the devkit examples. (customImagePlane.py) image =

[Maya-Python] Re: AETemplates in Python

2009-03-20 Thread Ravi Jagannadhan
I don't think it's possible in 2009. On Fri, Mar 20, 2009 at 2:54 PM, q2on kosm...@gmail.com wrote: Is it possible? I can't get Maya to use my AETemplate.py... only .mel. Thanks -- Where we have strong emotions, we're liable to fool ourselves - Carl Sagan

Re: [Maya-Python] Which editor do you use?

2011-07-09 Thread Ravi Jagannadhan
I've recently started using Eclipse + PyDev. Pretty good combo. On Sat, Jul 9, 2011 at 6:47 PM, 宇 1988he...@gmail.com wrote: I want to know which script editor is the most popular, and which editor does everybody in this group use? I just know the jEdit / SubAtheaEdit / TextMate / EditPlus and

Re: [Maya-Python] What's faster, API(2) or native Python?

2011-10-17 Thread Ravi Jagannadhan
Python comes with a profiler called cProfiler (and another called HotShot, I think). You could use those as well to measure the performance of your code (and decided if you want to use the API or the generic calls). On Mon, Oct 17, 2011 at 1:54 PM, Justin Israel justinisr...@gmail.com wrote: I

Re: [Maya-Python] skinCluster compute

2012-04-02 Thread Ravi Jagannadhan
Querying its output attributes? On Mon, Apr 2, 2012 at 2:41 PM, Judah Baron judah.ba...@gmail.com wrote: I am trying to drive skinCluster weights with another node, but the skinCluster node's compute doesn't get called. Does anyone know of a way to trigger a skinCluster node's compute method?

Re: [Maya-Python] panel similar to spreadSheet

2012-05-21 Thread Ravi Jagannadhan
The 'MPxUITableControl' class in the API, rather :) On Mon, May 21, 2012 at 5:06 PM, Ravi Jagannadhan enr...@gmail.com wrote: You can use the API to make a custom spreadsheet. The 'MPxUITableControl' lets you do this. On Mon, May 21, 2012 at 5:04 PM, Justin Israel justinisr...@gmail.com wrote

Re: [Maya-Python] panel similar to spreadSheet

2012-05-21 Thread Ravi Jagannadhan
maya.cmds.scriptTable? On Mon, May 21, 2012 at 5:06 PM, Ravi Jagannadhan enr...@gmail.com wrote: The 'MPxUITableControl' class in the API, rather :) On Mon, May 21, 2012 at 5:06 PM, Ravi Jagannadhan enr...@gmail.com wrote: You can use the API to make a custom spreadsheet

Re: [Maya-Python] Pixar's open subdivision on Windows?

2012-08-12 Thread Ravi Jagannadhan
I haven't tried this, but I thought Visual Studio could read Makefiles and build project files from them. That'd be a good start. There are no dumb questions - Carl Sagan. On Aug 12, 2012, at 6:25 AM, Panupat Chongstitwattana panup...@gmail.com wrote:

Re: [Maya-Python] rebuild UI cleanly on running file-new?

2012-08-12 Thread Ravi Jagannadhan
Could you listen for a file - new callback via the API and construct your UI that way? There are no dumb questions - Carl Sagan. On Aug 12, 2012, at 9:58 PM, matt matt.est...@gmail.com wrote: Something basic I'm sure, and yet... We embed an outliner in another panel, and some cool buttons

Re: [Maya-Python] PyQt eventFilter KeyPress

2013-02-13 Thread Ravi Jagannadhan
If this is on Linux, what is your mouse focus policy in the OS? Is it click to focus? On Wed, Feb 13, 2013 at 11:01 AM, Justin Israel justinisr...@gmail.comwrote: Sent too quickly... I meant to say that just calling setFocus() still seems to require a click before it really grabs the

Re: [Maya-Python] PyQt eventFilter KeyPress

2013-02-13 Thread Ravi Jagannadhan
linux setting. But I would assume an explicit setFocus() call would do it. It is required for me to even see a reaction after I then click and start pressing keys, but I also tried to grabKeyboard which made no difference in terms of requiring the click. On Feb 14, 2013, at 8:04 AM, Ravi

Re: [Maya-Python] Making a scriptJob using the API

2013-03-04 Thread Ravi Jagannadhan
Look at the documentation for MConditionMessage, that should help you. On Mon, Mar 4, 2013 at 11:20 PM, Te Wilson ironjellypa...@gmail.com wrote: Hello, I was curious if it was possible to make a function similar to a scriptJob using the api? The problem I am trying to solve is in my function

Re: [Maya-Python] Digest for python_inside_maya@googlegroups.com - 11 Messages in 3 Topics

2013-03-08 Thread Ravi Jagannadhan
Too late! I've already decided you were thanking me :P ... On Fri, Mar 8, 2013 at 6:10 PM, 郭金锋 guojinfeng8...@gmail.com wrote: Well, I mean Justin [?] 2013/3/9 郭金锋 guojinfeng8...@gmail.com Cool! Thanks a lot![?] BTW, I‘ve watched a couple of your video tutorials, they are very helpful!

Re: [Maya-Python] Clip representation in Trax Editor

2013-03-14 Thread Ravi Jagannadhan
What about QML? (noob question) On Thu, Mar 14, 2013 at 12:20 AM, Justin Israel justinisr...@gmail.comwrote: You can definitely do custom paint event in QWidget. The only reason I decided to suggest QGraphics is because when you start having a view with a huge number of QWidgets, it can get

Re: [Maya-Python] attaching eventFilters to Maya widgets and intercepting shortcut key events

2013-03-15 Thread Ravi Jagannadhan
Doesn't the Node Editor let you do creation completion when hitting the Tab key? You could use that. On Fri, Mar 15, 2013 at 3:03 PM, Jesse Capper jesse.cap...@gmail.comwrote: As a side project I'm seeing if I can create a node-creation popup for the hypershade similar to what Nuke has in

Re: [Maya-Python] attaching eventFilters to Maya widgets and intercepting shortcut key events

2013-03-15 Thread Ravi Jagannadhan
propagation in Maya or is that just a headache and asking for trouble? On Friday, March 15, 2013 3:40:55 PM UTC-7, Ravi Jagannadhan wrote: Doesn't the Node Editor let you do creation completion when hitting the Tab key? You could use that. On Fri, Mar 15, 2013 at 3:03 PM, Jesse Capper

[Maya-Python] is there a devkit example of a matrix array attr?

2013-04-15 Thread Ravi Jagannadhan
Hey folks, I realise this is a more language agnostic question (since I prefer a c++ solution), but I was curious if there was an example in the Maya devkit of a node with a matrix array attribute? Thank you for your time, Ravi -- Where we have strong emotions, we're liable to fool ourselves -

Re: [Maya-Python] URGENT REQ: Oracle UCM 11g and Site Studio 11g Consultant

2013-04-16 Thread Ravi Jagannadhan
Is there a way to blacklist e-mail addys? Or do we want to? On Tue, Apr 16, 2013 at 12:52 PM, vikram choudhary vikramhm...@gmail.comwrote: HI Hope you are doing fine!! Please review the requirement and if your Consultants are interested then reply back with your's Consultants resume

Re: [Maya-Python] URGENT REQ: Sr. Mobile Analyst

2013-04-17 Thread Ravi Jagannadhan
Vikram, please stop spamming this group with this garbage. On Wed, Apr 17, 2013 at 8:38 AM, vikram choudhary vikramhm...@gmail.comwrote: HI Hope you are doing fine!! Please review the requirement and if your Consultants are interested then reply back with your's Consultants resume

Re: [Maya-Python] Numpy not working in maya

2013-04-19 Thread Ravi Jagannadhan
I had these issues too, are you running Maya 64 bit? I think numpy is only 32-bit. On Fri, Apr 19, 2013 at 5:45 AM, Daniel Sanchez 3danimani...@gmail.comwrote: Hi!! First post here!! Im currently triying to install numpy on maya 2013 x64, and Im getting mad :( I've been searching

Re: [Maya-Python] Numpy not working in maya

2013-04-19 Thread Ravi Jagannadhan
No, sorry. If you do get this working though, please let us know. On Fri, Apr 19, 2013 at 10:58 AM, Daniel Sanchez 3danimani...@gmail.comwrote: Yes, It is maya x64, and I`ve tried the numpy for 64x precompiled I finded over numpy web Any clue?? Thanks 2013/4/19 Ravi Jagannadhan enr

Re: [Maya-Python] rig performance

2013-04-28 Thread Ravi Jagannadhan
Hi there, I wrote the MEL and DG Profiler, how can I help you? On Sun, Apr 28, 2013 at 2:56 PM, Ævar Guðmundsson aevar.gudmunds...@gmail.com wrote: This DG profiler appears to be quite undocumented, has anyone had a play with it using python in any way? My first reaction when watching

Re: [Maya-Python] rig performance

2013-04-28 Thread Ravi Jagannadhan
Just following up on this. I took this discussion offline with Aevar, and sent him some documentation (which should now be a part of Maya 2014's documentation) and some lecture videos. If anyone else is interested, please ping me and I'll provide them. Thank you for your time Ravi On Sun, Apr

Re: [Maya-Python] Get the list of all dependency nodes from a single node

2013-06-17 Thread Ravi Jagannadhan
Can't you just traverse the connections from that node? On Mon, Jun 17, 2013 at 2:17 AM, Narann fevrier.dor...@yahoo.fr wrote: Hi all! :) I desperate with this and I'm sure some of you have already encounter this: I have a complex character rigg and I know a specific controller has been

Re: [Maya-Python] Viewport 2.0 issue openMayaRender GL draws

2014-08-28 Thread Ravi Jagannadhan
Viewport 2.0 uses different classes for drawing custom shapes. I think there are some examples noted in the documentation. On Thu, Aug 28, 2014 at 2:07 PM, Todd Widup todd.wi...@gmail.com wrote: so I finally started playing with some openMaya api open gl draws and found if you have your

Re: [Maya-Python] Interest in RestMEL

2014-11-03 Thread Ravi Jagannadhan
I am very late to this discussion, so my apologies if this has already been covered by you smart folks. Have you tried using Twisted? I encountered it here: http://www.raywenderlich.com/3932/networking-tutorial-for-ios-how-to-create-a-socket-based-iphone-app-and-server when I was mucking about

Re: [Maya-Python] ينظم مركز أرض المعرفة دورات تدريبية شهر أغسطس2015

2015-06-18 Thread Ravi Jagannadhan
Is there a way to blacklist that e-mail address? 2015-06-18 9:57 GMT-07:00 Kurian O.S kuria...@gmail.com: Translated By google .. God names pocket - responsible diplomas And Azb: 00971529139857 Phone: 0097143513999 Fax: 0097142557615 Yours sincerely accept ... Why we getting this spam

Re: [Maya-Python] pyAlembic for Maya 2015?

2015-06-23 Thread Ravi Jagannadhan
Hi Eric, you should also try the Alembic forum, they may have something. Ravi On Tue, Jun 23, 2015 at 6:27 PM, Quoc Tran g7q...@gmail.com wrote: https://www.youtube.com/watch?v=sJYt8XyL-sg On Thu, Jun 11, 2015 at 2:05 PM, Eric Thivierge ethivie...@hybride.com wrote: Anyone have the

Re: [Maya-Python] Custom progress reporting for maya commands

2015-08-20 Thread Ravi Jagannadhan
Is there a particular workflow whose progress you're trying to measure? On Thu, Aug 20, 2015 at 2:57 PM, Justin Israel justinisr...@gmail.com wrote: On Fri, Aug 21, 2015 at 7:50 AM Alex Rideout alex.rideo...@gmail.com wrote: Hey all, I am curious if there is a way that one can display

Re: [Maya-Python] Register specific node type created

2015-08-06 Thread Ravi Jagannadhan
Filter in the callback for your specific node type? On Thu, Aug 6, 2015 at 3:00 PM, Arvid Schneider arvidschnei...@gmail.com wrote: How would I create a callback that fires when a specific node type is created? I know about: MDGMessage.addNodeAddedCallback( function ) but that registers any

[Maya-Python] script for measuring framerates?

2015-11-11 Thread Ravi Jagannadhan
Hi all, does anyone have any scripts handy for measuring frame rates (one that's not in the GUI)? Thank you for your time, Ravi -- Where we have strong emotions, we're liable to fool ourselves - Carl Sagan. -- You received this message because you are subscribed to the Google Groups "Python

Re: [Maya-Python] script for measuring framerates?

2015-11-12 Thread Ravi Jagannadhan
Sorry, playback in Maya. "There are no dumb questions" - Carl Sagan. > On Nov 12, 2015, at 00:10, Marcus Ottosson <konstrukt...@gmail.com> wrote: > > Frame rates of what? > >> On 12 November 2015 at 04:51, Ravi Jagannadhan <enr...@gmail.com> wrote: >&

Re: [Maya-Python] optimizing code, unusual results

2015-11-04 Thread Ravi Jagannadhan
One test you can try is doing your second set of lines on a different shape. Then you'd know for sure if it's caching anything. "There are no dumb questions" - Carl Sagan. > On Nov 4, 2015, at 06:47, s...@weacceptyou.com wrote: > > Hi, > > im trying to make my script as efficient as

Re: [Maya-Python] Question (MEL)

2015-10-14 Thread Ravi Jagannadhan
It might just be how the parser for that command works. On Wed, Oct 14, 2015 at 11:20 AM, Christopher. wrote: > rotate -r -rotateY 300 0 0 ($bballArray[1]); > > How come the above code works, shouldn't 300 represent (X) and the next > numeric value represent (Y) ? It

Re: [Maya-Python] 科比门徒Q/微2868134475办理毕业证成绩单回国认证使馆认证 【真实使馆认证(留学人员回国证明)永久存档,100%可查】

2015-09-30 Thread Ravi Jagannadhan
A whole grapefruit? Really? On Wed, Sep 30, 2015 at 12:12 AM, 天涯浪人 <911309317y...@gmail.com> wrote: > > > http://blog.sina.com.cn/u/5696619752 > > -- > You received this message because you are

Re: [Maya-Python] Re: Nodes in PySide/PyQt?

2016-03-20 Thread Ravi Jagannadhan
Hi Justin, do you have any sample code for this? I am looking to do something similar in PySide. Thank you for your time, Ravi -- "There are no dumb questions" - Carl Sagan. > On Mar 20, 2016, at 11:41, Justin Israel wrote: > > > >> On Mon, 21 Mar 2016 5:02 AM Marcus

Re: [Maya-Python] Re: Maya 2017 evaluation

2017-03-30 Thread Ravi Jagannadhan
I'm a little late to this party, but to my knowledge, Python nodes aren't parallelized in the EM in Maya. Do you have a profile you can send to the group (using the Maya Profiler)? Ravi On Thu, Mar 30, 2017 at 10:22 AM, Mark Jackson wrote: > No they have fully threaded the

Re: [Maya-Python] Re: triple switch node

2017-04-11 Thread Ravi Jagannadhan
I don't see any content in the e-mail? On Tue, Apr 11, 2017 at 11:47 AM, justin hidair wrote: > + 1 PLEASE Someone respond to this > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To

Re: [Maya-Python] Re: Maya 2017 evaluation

2017-03-31 Thread Ravi Jagannadhan
Okay, that wasn't obvious from the e-mail thread, or maybe I missed it. In any case, parallelism could save you a lot of time, but it depends on your setup, hence the need to do profiling. Let me know if you'd like help in that area. Good luck! On Fri, Mar 31, 2017 at 12:35 AM, Rémi Deletrain

Re: [Maya-Python] الدورة التدريبية الرقابة المالية فى الجهات الحكومية القاهرة – ماليزيا خلال الفترة من 15 الى 19أكتوبر 2017 م

2017-08-07 Thread Ravi Jagannadhan
Really? How'd he fit the grapefruit up there? "There are no dumb questions" - Carl Sagan. > On Aug 7, 2017, at 04:04, nour hamdy wrote: > > > الدار العربية للتنمية الإدارية > بالتعاون مع الإتحاد الدولى لمؤسسات التنمية البشرية > الدورة التدريبية > الرقابة المالية فى الجهات

Re: [Maya-Python] some Mel toughts

2017-08-18 Thread Ravi Jagannadhan
This could become a circle jerk, it's not "bad", just different. And old. "There are no dumb questions" - Carl Sagan. > On Aug 18, 2017, at 15:08, Rudi Hammad wrote: > > Hello, > I recently started a job in a studio that relies only on Mel, where python is > officially

Re: [Maya-Python] opening .ma files in silent mode

2017-06-22 Thread Ravi Jagannadhan
It looks like (at least in the file translator part), it checks it once per session. On Thu, Jun 22, 2017 at 2:27 PM, Michael Boon wrote: > You can set environment variables from within Maya. The standard Python > way is > import os > os.environ['MAYA_IGNORE_DIALOGS'] = '1'

Re: [Maya-Python] HIGH QUALITY MARIJUANA AND COKE FOR SALE ONLINE AT GOOD PRICES

2017-10-01 Thread Ravi Jagannadhan
tobacco should be set to False On Sun, Oct 1, 2017 at 2:40 AM, Leonardo Bruni wrote: > Yep, you need actually to do like this: > > from marijuana import joint > > and then you will be able to use all new joint method like: > joint.make(tobacco=True) >

Re: [Maya-Python] beginners question

2017-08-29 Thread Ravi Jagannadhan
In your loop, multiply i by your increment of choice. So, if you're trying to do an increment of 2, the cubes would be at: x, 0, z x, 2, z x, 4, z and so on. On Tue, Aug 29, 2017 at 4:27 PM, jettam wrote: > I'm really new to python, and I've been doing some tutorials

Re: [Maya-Python] Re: Getting an error In spyder while doing Sample Program for Block Chain.

2017-12-19 Thread Ravi Jagannadhan
Paste your code in notepad first, and look for any out of place ascii characters. On Tue, Dec 19, 2017 at 9:53 AM, Ashish Yadav wrote: > I am trying this in Spyder and getting an issue . > > I do not know why ? please help me . > > > On Tuesday, December 19, 2017 at

Re: [Maya-Python] MPxNode Plug-in Crashing Maya

2017-10-30 Thread Ravi Jagannadhan
What's your crash's stack trace? On Mon, Oct 30, 2017 at 11:28 AM, Alec Fredericks wrote: > Hi there. > I wanted to finally start writing plug-ins for Maya using Python. To > start, I created a template for myself that just takes a matrix as an input > and outputs

Re: [Maya-Python] Re: [Maya 2018] Refresh problem

2018-06-13 Thread Ravi Jagannadhan
Do you have a scene you can share? I can try to log the bug for you. On Wed, Jun 13, 2018 at 5:54 AM, Rémi Deletrain wrote: > Oh big shit! > it's the MotionBlur of viewport 2.0 ! When I disable this option I don't > have the problem > > -- > You received this message because you are subscribed

Re: [Maya-Python] Re: [Maya 2018] Refresh problem

2018-06-14 Thread Ravi Jagannadhan
I'd have to log it with a reproducible case to log it. On Thu, Jun 14, 2018 at 12:59 AM, Rémi Deletrain wrote: > It is not possible to give this setup because some nodes are the property > of the studio. When I have a time a make a basic rig for reproduce this bug. > How are you tracking this

Re: [Maya-Python] My Current node name

2018-05-01 Thread Ravi Jagannadhan
The API docs for MPxNode should list a function that'll give you this. I think it's just name(...) but double check in the docs. On Tue, May 1, 2018 at 7:13 AM, miarmy wrote: > Hi.in the compute function of my nodr...i want know > What is my node name...and what is the

[Maya-Python] Nuke API resources?

2018-02-13 Thread Ravi Jagannadhan
Hi all, this is not a Maya-Python question, but I imagine some people here use Nuke and its Python API. For those of you who do, are there any resources you'd recommend (aside from the doc page on the Foundry's site)? Any groups like this one? Thank you for your time, Ravi -- Where we have

Re: [Maya-Python] My QMessageBox.question buttons didn't show up

2018-02-18 Thread Ravi Jagannadhan
Hi all, so I'm seeing this happen on Maya 2017 Update 4 on MacOS and wondering if anyone's seen similar behaviour in their versions. Like Michael, I'm trying to use a QMessageBox. My script looks like this: SNIP import logging import Qt from Qt import QtGui, QtCore, QtWidgets try:

Re: [Maya-Python] shiboken warnings and missing classes

2018-07-24 Thread Ravi Jagannadhan
class >- type is specified in typesystem but not defined > > That last one *could* imply that you have specified a type in your xml > file that was given to shiboken, but the headers defining that type haven't > been provided. > > Using shiboken is a dark art. > >

[Maya-Python] shiboken warnings and missing classes

2018-07-24 Thread Ravi Jagannadhan
Hi all, my apologies if this isn't the right place to ask this, but I'm at my wits end and I'm sure I'm missing something simple here. I'm trying to use Shiboken to build Python bindings. I'm using the widget example on Qt's website:

Re: [Maya-Python] shiboken warnings and missing classes

2018-07-24 Thread Ravi Jagannadhan
Darn, okay, I'll keep digging. Thanks Justin. On Tue, Jul 24, 2018 at 7:41 PM, Justin Israel wrote: > > > On Wed, Jul 25, 2018 at 2:30 PM Ravi Jagannadhan wrote: > >> Hi Justin, thanks. The issue seems to be in the typesystem XML file, I >> didn't add the object line. M

Re: [Maya-Python] Node tagging system

2018-03-30 Thread Ravi Jagannadhan
Yeah, it's why that system was built. On Fri, Mar 30, 2018 at 10:42 AM, Kenneth Ibrahim wrote: > I haven't looked into the metadata system yet either other than the > overview but it does seem interesting, especially as you point out that it > can be used for persistent

Re: [Maya-Python] Node tagging system

2018-03-29 Thread Ravi Jagannadhan
Metadata, I think is the way to go. It was built for this. On Thu, Mar 29, 2018 at 3:45 PM, Kenneth Ibrahim wrote: > I'm wondering if anyone can offer any good methodologies for tagging nodes > in Maya such that they can be identified and collected by said tags. > > The

[Maya-Python] Image Diffs...

2018-03-20 Thread Ravi Jagannadhan
Hi all, this isn't strictly Maya related, but I suspect some people here have encountered this issue. Does anyone have any suggestions for ways to detect if two images are identical? Thank you for your time, Ravi -- Where we have strong emotions, we're liable to fool ourselves - Carl Sagan --

Re: [Maya-Python] Python doubt

2018-03-22 Thread Ravi Jagannadhan
What did you try and what was the issue? "There are no dumb questions" - Carl Sagan. > On Mar 21, 2018, at 20:13, Cssara wrote: > > What's the command for selecting hierarchy in Maya..in Mel select > -hireachy...in same way how to write the comma d in python.. I did.

[Maya-Python] capturing mouse clicks?

2018-10-13 Thread Ravi Jagannadhan
Hi all, I'm trying to detect when a mouse button is clicked anywhere in Maya as part of an event filter. I currently have this as an event filter: from PySide2 import QtCore, QtWidgets from shiboken2 import wrapInstance from maya import OpenMayaUI win_ptr = OpenMayaUI.MQtUtil.mainWindow() win =

Re: [Maya-Python] capturing mouse clicks?

2018-10-13 Thread Ravi Jagannadhan
Thank you for the response. The issue I'm looking into happens also when clicking menu items in the top level window, so maybe I'll start there. Thanks again. On Sat, Oct 13, 2018 at 5:21 PM Justin Israel wrote: > > > On Sun, Oct 14, 2018, 12:31 PM Ravi Jagannadhan wrote: > &g

[Maya-Python] selecting objects inside an arbitrary frustum

2018-12-11 Thread Ravi Jagannadhan
Hi all, does anyone have a script they can share for selecting objects inside a given frustum? I am currently using the selectFromScreen(...) function in MGlobal, but that doesn't seem to pick up everything. I figured this is a common problem so rather than write my own, I'd take the lazy route :P

Re: [Maya-Python] Debugging Maya with Pycharm

2018-12-05 Thread Ravi Jagannadhan
I've never been able to get this to work. I would love to know how to do this magical thing On Wed, Dec 5, 2018 at 3:41 PM Russel Rehmund wrote: > Anyone have experience attaching the Pycharm debugger to a Maya process? > I thought I should be able to see my Maya process to attach to, but

Re: [Maya-Python] api delete issues

2018-11-19 Thread Ravi Jagannadhan
Do you have a scene and some code that people can look at? "There are no dumb questions" - Carl Sagan. > On Nov 19, 2018, at 13:14, mahmoodhasanzadeh...@gmail.com wrote: > > hi! > > maya api does not delete componnents... > ... > meshFn.deleteFace( index ) > ... > does not work! > > PM: > P L

Re: [Maya-Python] MDGModifier or MDAGModifier based on node type?

2019-08-02 Thread Ravi Jagannadhan
MDGModifier should create DAG nodes right? A DAG node is a DG node, but not all DG nodes are DAG nodes. Ravi — "There are no dumb questions" - Carl Sagan. > On Aug 1, 2019, at 22:15, David Lantos wrote: > > Hi guys, > > I'm creating a "createNode(nodeType)" wrapper around maya api 2.0 > >

Re: [Maya-Python] How to run a certain function at every n seconds until tool is close

2019-07-29 Thread Ravi Jagannadhan
What about MTimerMessage? That could help run something at regular intervals. On Mon, Jul 29, 2019 at 2:26 PM Justin Israel wrote: > > > On Tue, Jul 30, 2019 at 9:01 AM kiteh wrote: > >> Does Maya have some sort of callbacks or script jobs that will allows me >> to run a function every 30

Re: [Maya-Python] Setting the frame rate in Maya

2019-07-31 Thread Ravi Jagannadhan
Hi Jesse, thank you for your response. In a vanilla Maya scene, when I try (in MEL, but please bear with me): playbackOptions -q -fps; // returns 0 likewise querying playbackspeed or even maxplaybackspeed. The docs aren't entirely clear what exactly the value being returned is supposed to be

[Maya-Python] Setting the frame rate in Maya

2019-07-31 Thread Ravi Jagannadhan
Hi all, I'm sure I'm missing something simple here, but I can't seem to set the frame rate in Maya. It's doable via the prefs and in the main window UI at the bottom right, but I can't seem to find a command/script way of doing it. Any ideas? Thank you for your time, Ravi -- Where we have strong

Re: [Maya-Python] Setting the frame rate in Maya

2019-08-01 Thread Ravi Jagannadhan
ime=True) > > this will return a string code for the format as it is in prefs. For setting > it you only need to use the edit flag. > > Hope it helps. > > >> El mié., 31 jul. 2019 a las 21:02, Ravi Jagannadhan () >> escribió: >> Hi Jesse, thank you for your

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

2020-02-10 Thread Ravi Jagannadhan
What was the issue? — “There are no dumb questions” - Carl Sagan. > On Feb 10, 2020, at 21:35, Todd Widup wrote: > >  > 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

[Maya-Python] Measuring frame/playback rate in Maya

2019-12-30 Thread Ravi Jagannadhan
Hi there, I need to automate some testing in Maya and am looking to script something that will measure the playback performance. Does anyone have a scriptlet that does this already? Thanks in advance. Thank you for your time, Ravi -- Where we have strong emotions, we're liable to fool ourselves

Re: [Maya-Python] Quick question on node.

2020-05-30 Thread Ravi Jagannadhan
Can you clarify what you mean by 'connect to an sdk'? On Sat, May 30, 2020 at 1:37 PM Padraig Ó Cuínn < patchquinnanimat...@gmail.com> wrote: > Hi Everyone, > > Is it possible to use closestpointonmesh node to connect to an sdk to > achieve a rigged action when something is close to the point. >

Re: [Maya-Python] removing [ u'A', u'B', u'C', u'D']

2020-07-02 Thread Ravi Jagannadhan
https://stackoverflow.com/questions/9773121/removing-u-in-list On Thu, Jul 2, 2020 at 8:44 PM Shashiprakash Maurya < shashiprakashmaury...@gmail.com> wrote: > how can I remove u on my list? > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming

Re: [Maya-Python] Issues unloading plugin despite custom nodes being removed

2020-06-08 Thread Ravi Jagannadhan
Have you looked at the Maya command unknownNodes and unknownPlugins? They might help you clean up the scene a little bit more thoroughly. Where else could that MPxData type get used? Ravi On Mon, Jun 8, 2020 at 8:28 PM wrote: > > Hello. I posted this on the ngSkinTools forum but wanted to

Re: [Maya-Python] Parallel GPU override slows performance

2021-07-01 Thread Ravi Jagannadhan
Sounds like a good change... On Wed, Jun 30, 2021 at 7:25 PM Rudi Hammad wrote: > > Hello, > I am testing the same scene in maya 2018 an maya 2022. Here are the results > in maya 2018 in parallel , NO gpu override --> 140 fps > in maya 2018 in parallel , gpu override --> 90 fps > in maya 2022

Re: [Maya-Python] Ctrl + P

2021-04-09 Thread Ravi Jagannadhan
If I remember right, it's just called the Colour Picker. On Fri, Apr 9, 2021 at 11:36 AM Marcus Ottosson wrote: > Sorry for the cryptic title, but this has eluded me for years and I can > never remember the hotkey for this hidden but surprisingly useful little > widget that pops up in Maya

Re: [Maya-Python] Ctrl + P

2021-04-09 Thread Ravi Jagannadhan
Actually, I think Kurian has the right answer. On Fri, Apr 9, 2021 at 12:08 PM Ravi Jagannadhan wrote: > If I remember right, it's just called the Colour Picker. > > On Fri, Apr 9, 2021 at 11:36 AM Marcus Ottosson > wrote: > >> Sorry for the cryptic title, but this ha

Re: [Maya-Python] cannot open file 'tbb_debug.lib' error.

2021-08-21 Thread Ravi Jagannadhan
Are you building those examples in debug mode? Usually that happens when you build them in debug mode and the compiler's looking for the debug version of TBB, which isn't included. On Sat, Aug 21, 2021 at 8:25 AM baroni wrote: > hi, what is "cannot open file 'tbb_debug.lib' " error? > > This

Re: [Maya-Python] Attribute filtering.

2023-08-06 Thread Ravi Jagannadhan
Have you tried replacing the scriptjob with a dummy of the same name that does nothing? — “There are no dumb questions” - Carl Sagan From: python_inside_maya@googlegroups.com on behalf of Darwin Giordano Sent: Saturday, August 5, 2023 6:40:05 PM To: Python

[Maya-Python] Hiding individual tabs in a tab layout?

2023-11-14 Thread Ravi Jagannadhan
Hi all, is it possible to hide individual tabs in a tab layout? Ravi — “There are no dumb questions” - Carl Sagan -- 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

Re: [Maya-Python] Hiding individual tabs in a tab layout?

2023-11-14 Thread Ravi Jagannadhan
Alas, they're made via cmds. On Tue, Nov 14, 2023 at 2:07 PM Marcus Ottosson wrote: > It would depend on how the tabs are made, are they made via PySide or cmds? > > On Tue, 14 Nov 2023 at 16:27, Ravi Jagannadhan wrote: > >> Hi all, is it possible to hide individual ta