Script for placing guitar frets

 From:  Michael Gibson
5440.4 In reply to 5440.3 
Hi Martin,

> Is it possible to draw something i.e. a line or a box via scripting?

It is, but all that kind of stuff is set up more for how the drawing commands work where you're picking things interactively in stages.

The way it works for a line for example is that you create a line "factory", set the values for its inputs and then the factory can generate an output. In the line command the inputs come from the results of a pointpicker.

In the future I want to add a more simplified interface for scripts with something like just a moi.geometryDatabase.createLine( start, end ) type call but that layer is not in place at the moment.

- Michael