Hey, What about the helixTool example <http://docs.autodesk.com/MAYAUL/2014/ENU/Maya-API-Documentation/index.html?url=cpp_ref/helix_tool_2helix_tool_8cpp-example.html,topicNumber=cpp_ref_helix_tool_2helix_tool_8cpp_example_html2250fb45-7a26-4086-b4c7-28bf01b6ff75,hash=_a45>, from the API docs? It has examples of using MPxContextCommand, and providing custom syntax to pass options.
Justin On Tue, Jun 2, 2015 at 6:32 PM <[email protected]> wrote: > Hey Guys, > > Im working on a custom context plugin, and everything was going swimmingly > until I wanted to pass an MSelectionList into my custom context. Just > wondering if anybody has any experience with this? > > It seems like I need to create a syntaxObject, and an argList, and parse > the two using MArgParser, But that's about as far as I get before I go > crosseyed, and im not really sure where, or what class/def to be putting > this stuff in. > > Most the stuff ive come across deals with mostly custom commands, and I > guess it's slightly different. > > thanks for any help! > 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/c66e013b-1e9e-45e1-b24c-cf396e0472df%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/CAPGFgA2nfn30zHYRQ-0wjqiS4LkSPVCbVipKKY1RjPLTgNtDbQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
