Hi all,
http://markj3d.blogspot.co.uk/2011/08/maya-command-completion-issues-in.html
I posted this link way back in 2011 and forgot all about it, but now this
issue has popped up again and I wondered if anybody could shed light on it,
or is it just a Maya script editor quirk? ....
The problem is when you have properties bound to a class and use Maya's
code completion in the script editor,. that completion is actually running
all the properties bound to that class the minute you go "."
class AutoCompleteTest(object):
def __init__(self):
pass
@property
def Test(self):
print "Im being CALLED Multiple times!!!!!\n"
a=AutoCompleteTest()
a.........
I have a big P4 file object class with a ton of calls bound as properties,
things like fstat, sync etc... but because of this behavior maya's script
editor, completion grinds to a halt anytime you try dot completing the
class object. I'm figuring I may just roll all the calls back to
getters/setters but wondered it there was any magic fix I'm not aware of..
cheers
Mark
-------------------------------------
Mark Jackson
CEO / Technical Director
red9consultancy.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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAGQH2FG%3DL_g2UKeoQUb0YRMQU%2Bh66HGBYHNMTgGbm53TmHqx%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.