[Maya-Python Club:1715] Re: Maya Api Docs Demystified

2009-02-15 Thread Adam Mechtley
I would like to point out by the way that although almost all friend functions are listed as having no script support, the first version of slerp (http://download.autodesk.com/us/maya/2009help/API/class_m_quaternion.html) is not listed as such (either here or in the header files, 2008 or 2009). Is

[Maya-Python Club:1714] Maya Api Docs Demystified

2009-02-15 Thread ryant
I added this page to my blog in response to a e-mail from someone. I thought it might help some of those that are newer to using the Python API. http://www.rtrowbridge.com/blog/2009/02/15/maya-api-docs- demystified-for-python-users/"> http://www.rtrowbridge.com/blog/2009/02/15/maya-api-docs-demys

[Maya-Python Club:1713] Re: Trying to build a reference up of what an argument needs

2009-02-15 Thread Jason Osipa
"Why do my eyes hurt?" "Because you've never used them before" I'm feeling a little THAT right now. Thank you a 1000 times over. On Sun, Feb 15, 2009 at 6:19 PM, Dean Edmonds wrote: > > On Sun, Feb 15, 2009 at 14:16, jasonosipa wrote: > > > > What do const, &, and * each mean? > > > > When y

[Maya-Python Club:1712] Re: Trying to build a reference up of what an argument needs

2009-02-15 Thread Dean Edmonds
On Sun, Feb 15, 2009 at 14:16, jasonosipa wrote: > > What do const, &, and * each mean? > > When you look at documentation for an object, each argument can have a > lot of different markup, and I'm not confident with guesses at what > those mean, so I'll just ask: > > What do const, &, and * each

[Maya-Python Club:1711] Re: Trying to build a reference up of what an argument needs

2009-02-15 Thread jasonosipa
Absolutely. That fun, and then the not ACTUALLY implicit knowledge, but so-complicated-it-may-as-well-be-implicit-knowledge goodness of how you get (from a MEL perspective) from creating a float attribute, to bloody using it. From (double) to reading it in a node (blah blah blah.asFloat() ) to c

[Maya-Python Club:1710] Re: Trying to build a reference up of what an argument needs

2009-02-15 Thread Ofer Koren
Keep in mind this documentation is for the C++ API, where all this makes a lot more sense. It doesn't always have direct translation in python (hence the notorious MScriptUtils). On Sun, Feb 15, 2009 at 2:51 PM, Tim Fowler wrote: > "const" means that the parameter is constant and the compiler wi

[Maya-Python Club:1709] Re: Trying to build a reference up of what an argument needs

2009-02-15 Thread Tim Fowler
"const" means that the parameter is constant and the compiler will not allow changing its value. "&" is a reference to a particular parameter. If you call a function with a parameter that is not a reference then a copy is made of what you passed in. If it is a reference then basically the caller

[Maya-Python Club:1708] Re: Trying to build a reference up of what an argument needs

2009-02-15 Thread jasonosipa
What do const, &, and * each mean? When you look at documentation for an object, each argument can have a lot of different markup, and I'm not confident with guesses at what those mean, so I'll just ask: What do const, &, and * each mean? What does "blank" mean, where there is no const at the h