On Thu, Jan 7, 2016 at 8:07 AM Benjam901 <[email protected]> wrote:
> Hello all, > > So I have wanted to jump into the Maya API for a while but have not had > the need to, or really knew where to start, but is has come to a point > where I really want to know it and feel I should to advance myself. > > Firstly the Python API will be the ticket for me. My C++ is kinda sparse > and I am not a dedicated programmer of that spectrum. > > I am going to be looking through building a plugin with Chad Vernon as I > think it might be a good starting block but I was after some extra advice > from the group. > > - What can the API (Python or C++) be used for and what is a good best > case scenario in which you will need it? > You can get better performance on some things, doing it through the objects and iterators as opposed to strings with the commands module. You usually have to use it to write plugins. You may find features that are only exposed through the API as opposed to the commands module. > - Where should you start, i.e. are there example projects/generic ideas > that could be useful to build a plugin of sorts? > It can be helpful to read through the bundled Maya examples that include both C++ and Python plugin code. > - Is it generally used quite sparingly? (In my experience so far I have > had no need for it but am aware it is very powerful) > I don't have any official data to back this up, but I would wager that it is used quite often as a more powerful way to develop features for Maya. If you have to write a plugin, you usually write with the API. If you are doing your project in C++ already, then you have to use the C++ API anyways. > > Any other advice would be awesome also. > > As always thanks to the group you guys are awesome. > > Cheers, > > Ben > > -- > 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/f40b016b-3272-4b2a-a711-ed03108cb8bc%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/f40b016b-3272-4b2a-a711-ed03108cb8bc%40googlegroups.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/CAPGFgA0fvNaaBxk_okXDX2dr_vOpo6RS1xdCT8j2BmX3Kuz6Kw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
