Lots of unkown

 From:  Cemortan_Tudor
8665.205 
for offset - here's a solution

if (pointpicker.event == 'finished') {
moi.command.setOption('OffsetCurveDistance', factory.getInput(1));
break;
}

if I'll need i can swap from thought point, to distance by hotkey or manual .. it will remember last input
offset factory input 1 = distance
but
moi.ui.alert(factory.getInput(1)) returns moi.object. Is a way to return value? or search for another way ?
- Tudor -