Learning to create addon

 From:  Elang
10889.16 
Hi Brian,

I really appreciate the materials that you've post. I'm sure will have to know it very soon. The thing is, they seems to be a little bit too advanced for me (having the UI ready, etc).

I just found a discussion here regards scripts:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7238.1

.. and the discussion there could be a good start for me: to draw objects using script like the following example from Martin.

code:
script:
var factory = moi.command.createFactory( 'box' );
factory.setInput( 0, moi.vectorMath.createFrame() );
factory.setInput( 2, 20 );
factory.setInput( 3, 20 );
factory.setInput( 4, 20 );
factory.commit();


I think I could start learning from this humble beginning.

However, I can't find the right place to have the reference for each objects, i.e.: how to use moi.command.createFactory, what parameters needed, etc.

So, could you please point me the right direction?

Thank you very much in advance.