Can you print the apiTypeStr from your component in the selection iterator?
When I tested it, selecting uvs, it worked for me.

On Fri Jan 16 2015 at 10:51:47 <[email protected]> wrote:

> hey Justin, thanks for typing that out for me. I was having a real hard
> time figuring out what function set to use to get those values.
>
> However, when I try to use MFnSingleIndexedComponent with passing in the
> MObject from the selection Iterator, I get a kInvalidParameter error,
> Object is not compatible with this method.  I've tried other function sets,
> like MFnDoubleArrayData, MFnDoubleIndexedComponent, etc, but these all
> seems to give the same error.  Is there a better way to figure out what
> function set I need to use? or just guess and check?
>
> Thanks
> Kev
>
> --
> 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/47a6fbe5-e107-43db-aceb-
> 985e2dcc8e88%40googlegroups.com.
> 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/CAPGFgA0_F39-frZ9igr0hdi1jKXnn2LTwFTXf1tSnmtUit4a7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to