ECToo / pymel

Automatically exported from code.google.com/p/pymel
0 stars 0 forks source link

selectionConnection's are not object oriented #267

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Describe the problem.
Selection connections don't appear to wrap any pymel goodness.  The command 
selectionConnection only has flags available, no getter or setter commands.  

The bigger issue is what selectionConnections return.  Creating a 
selectionConnection returns a unicode object. Querying objects in the 
selectionConnection return unicode objects, not PyNodes.  Querying objects in 
selectionConnections will return None if empty instead of [].

What Version of Maya are you using?
2012

On what operating system? (be as specific as possible and include service
packs, 64bit vs 32bit, etc)
Windows 7 64 bit.

What Version of PyMEL are you using?
The one that comes with Maya 2012, 1.0.3

What is the expected output? What do you see instead?

If possible, provide a few lines of code to reproduce the problem. It helps
us if your code will reproduce the problem from a new scene.

Does maya.cmds exhibit the same problem?
Well, yes.  That's the problem!

Please provide any additional information below.
I've just started using pymel yesterday.  So far, it's amazing and I never want 
to go back! 

Original issue reported on code.google.com by assumpti...@gmail.com on 4 Feb 2012 at 6:10