Re: [Maya-Python] Re: Retrieving data from DataBlock bottleneck

2016-08-31 Thread Justin Israel
On Thu, 1 Sep 2016, 6:00 PM wrote: > Hi, I don't necessarily agree with the idea that an increase in cpu usage > dictates a performance increase in your node. Low cpu usage doesn't mean > your node or code is slow. cpu usage is not a very good way to gauge the > performance. Even frame rates wo

[Maya-Python] Re: Retrieving data from DataBlock bottleneck

2016-08-31 Thread kevcortez99
Hi, I don't necessarily agree with the idea that an increase in cpu usage dictates a performance increase in your node. Low cpu usage doesn't mean your node or code is slow. cpu usage is not a very good way to gauge the performance. Even frame rates would be better, but the profiler would be

Re: [Maya-Python] How To Get Real Time Feedback from Maya Script Editor to Sublime Text Console??

2016-08-31 Thread Eric S
Yes i will do it, thanks a lot Justin ^^ On Thursday, September 1, 2016 at 4:07:50 AM UTC+8, Justin Israel wrote: > > > > On Thu, 1 Sep 2016, 7:27 AM Eric S > > wrote: > >> Thanks Justin for your explination. >> Whish this feature we can achive in future. >> In eclipse realtime feedBack reall

Re: [Maya-Python] How To Get Real Time Feedback from Maya Script Editor to Sublime Text Console??

2016-08-31 Thread Justin Israel
On Thu, Sep 1, 2016 at 3:25 PM Alok Gandhi wrote: > Thanks for doing that Justin! > (from a happy user of may sublime) > No worries. And thanks for the positive feedback. > > On Thu, Sep 1, 2016 at 4:07 AM, Justin Israel > wrote: > >> >> >> On Thu, 1 Sep 2016, 7:27 AM Eric S wrote: >> >>> Th

Re: [Maya-Python] How To Get Real Time Feedback from Maya Script Editor to Sublime Text Console??

2016-08-31 Thread Alok Gandhi
Thanks for doing that Justin! (from a happy user of may sublime) On Thu, Sep 1, 2016 at 4:07 AM, Justin Israel wrote: > > > On Thu, 1 Sep 2016, 7:27 AM Eric S wrote: > >> Thanks Justin for your explination. >> Whish this feature we can achive in future. >> In eclipse realtime feedBack really he

Re: [Maya-Python] Selects only the group nodes

2016-08-31 Thread likage
I will keep a lookout again. Perhaps it is a mistake on my part.. But in case if anyone chance upon this thread, I managed to get groups' selection by using 2 sets.. transform_set = set(cmds.listRelatives(cmds.ls(transforms=True), ap=True, ni =True)) mesh_set = set(cmds.listRelatives(cmds.ls(typ=

Re: [Maya-Python] Selects only the group nodes

2016-08-31 Thread Justin Israel
On Thu, Sep 1, 2016 at 10:29 AM likage wrote: > Also, why is it that sometimes I got this error: > # Error: 'list' object is not callable > # Traceback (most recent call last): > # File "", line 14, in > # File "", line 3, in test > # TypeError: 'list' object is not callable # > > that is st

Re: [Maya-Python] Selects only the group nodes

2016-08-31 Thread likage
Also, why is it that sometimes I got this error: # Error: 'list' object is not callable # Traceback (most recent call last): # File "", line 14, in # File "", line 3, in test # TypeError: 'list' object is not callable # that is stemming from the list(set(...))? There are items within my sce

Re: [Maya-Python] Selects only the group nodes

2016-08-31 Thread likage
@Geordie Forgotten to mention but it does not seems to be working, fyi On Monday, August 29, 2016 at 10:07:01 PM UTC-7, Geordie Martinez wrote: > > whoops. forgot markdown. > > import maya.cmds as mc > > sel = list(set([x for x in mc.listRelatives(mc.ls(assemblies=True), ad=True, > type='transf

Re: [Maya-Python] Re: Selects only the group nodes

2016-08-31 Thread likage
@Justin I see, now I do get what you mean.. I apologize that I have missed out on your point.. I was using that screenshot as a small testing ground of what I was doing, too generic as I did not forecast what you meant... Now that sort of sucks.. -- You received this message because you are su

Re: [Maya-Python] Re: Selects only the group nodes

2016-08-31 Thread Justin Israel
On Thu, 1 Sep 2016, 7:39 AM likage wrote: > I have another related question... > Suppose in my above hierarchy, this time round, I have a pCube1 which is a > parent of pCube2 and it is in the same 'level' as Group_1.. > > While running the code, it selects all the group nodes but pCube1 too > tho

Re: [Maya-Python] How To Get Real Time Feedback from Maya Script Editor to Sublime Text Console??

2016-08-31 Thread Justin Israel
On Thu, 1 Sep 2016, 7:27 AM Eric S wrote: > Thanks Justin for your explination. > Whish this feature we can achive in future. > In eclipse realtime feedBack really helpfull and when the script executed > feom eclipse go to maya we can undo it, when do this with sublime maya > can't undo it. > C

[Maya-Python] Re: Selects only the group nodes

2016-08-31 Thread likage
I have another related question... Suppose in my above hierarchy, this time round, I have a pCube1 which is a parent of pCube2 and it is in the same 'level' as Group_1.. While running the code, it selects all the group nodes but pCube1 too though it should not be... I did not think that far ahea

Re: [Maya-Python] How To Get Real Time Feedback from Maya Script Editor to Sublime Text Console??

2016-08-31 Thread Eric S
Thanks Justin for your explination. Whish this feature we can achive in future. In eclipse realtime feedBack really helpfull and when the script executed feom eclipse go to maya we can undo it, when do this with sublime maya can't undo it. -- You received this message because you are subscribe

Re: [Maya-Python] How To Get Real Time Feedback from Maya Script Editor to Sublime Text Console??

2016-08-31 Thread Justin Israel
On Wed, 31 Aug 2016, 8:41 PM Eric S wrote: > Hi guys > > Need help here i'm new with Sublime > i just instal and setting sublime to execute successfully with this > package( https://github.com/justinfx/MayaSublime ) > > but i can't get real time feedback from maya script editor to sublime > conso

[Maya-Python] How To Get Real Time Feedback from Maya Script Editor to Sublime Text Console??

2016-08-31 Thread Eric S
Hi guys Need help here i'm new with Sublime i just instal and setting sublime to execute successfully with this package( https://github.com/justinfx/MayaSublime ) but i can't get real time feedback from maya script editor to sublime console like eclipse do. Can this works with sublime too ??