I just always turned of completion in the script editor because it gave me
problems. Didn't know this was the reason. Maybe switch to MayaSublime? ;-)

On Fri, 3 Jun 2016 4:04 AM Mark Jackson <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/python_inside_maya/CAGQH2FG%3DL_g2UKeoQUb0YRMQU%2Bh66HGBYHNMTgGbm53TmHqx%2BA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPGFgA0fSyV4AzPyhLT7qnzxhNKQ3%3DeA2k%3DuwcKvkA8N_thQaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to