Offset Inset > save preset

 From:  Michael Gibson
9936.4 In reply to 9936.3 
Hi Pilou,

re:
> I suppose that is valuable for the other functions?
> but how to find the other functions' "Syntax" ?

Yes it can work with any command. To find out what parameters are available you can look in the .htm file for the command, the id="" value of the control is what you use.

So for example in the Extrude.htm file the Distance field is this: <moi:DistanceInput id="distanceinput"

So that means that the Extrude command can take a parameter named distanceinput with a number, like distanceinput=3.

If you set up a keyboard shortcut (or type Tab and type it in and push Enter) of: Extrude distanceinput=3 it will be the same as if you ran the Extrude command and then set the "Distance:" field to 3.

To trigger a button you put in just the id value by itself, like: Extrude tapered , that will be the same as if you ran the Extrude command and pushed the "Tapered" button.

Input fields take a number like field=3.2 , checkboxes take a true/false value, dropdown combo boxes take one of the values of the <option> elements inside them.

- Michael

EDITED: 8 Sep 2020 by MICHAEL GIBSON