variants with parameters

 From:  Michael Gibson
662.8 In reply to 662.6 
Hi Ralf,

> But I think it's not a bad idea to prepare the structure of the software
> to be able to implement an API in a later version.

Yeah, I have actually done some of this. There is an internal API that I use when making new features, there are things like point picking and object selection services, etc...

You can see one portion of how this works by looking in the "commands" subdirectory under the main MoI directory. In there you will see the script file and UI file for every command. The script file controls the flow of a command and it calls various parts of the MoI object model to accomplish different tasks and gather inputs.

It's just going to be a while before I'm able to clean it up and especially document it to make it a public API.

- Michael