Difference between revisions of "Starting Out"
(Created page with "==First Steps in the API== The Python API is significantly more powerful than the previous Python scripting interface. This means Python users can create fully functional plu...")
Revision as of 04:48, 22 February 2014
First Steps in the API
The Python API is significantly more powerful than the previous Python scripting interface. This means Python users can create fully functional plugins just like C++ users, but it also means Python scripters who want to take advantage of the speed and power need to interact with modo at a more fundamental level. There is a lot exposed at this level, and it can be overwhelming for new users. Hopefully, this brief introduction can get newer users started off on the right foot.
The heart of the Python API is the lx module. Looking at the different elements in the lx module is probably the best way to get familiar with the Python API, and the persistent interpreter will let you do this through Introspection. First let's open an interpreter. You can open the command history with the F5 key and change it to use the python interpreter through the viewport settings. The results tab will show you modo's responses to your inputs so you'll want to switch over to it.