Hi Brian,
> I am not sure about where and how objectpicker.min = objectpicker.max = 2; fits in.
That will make the object picker trigger it's "finished" event immediately after 2 curves are selected, like as soon as the second curve is clicked on, rather than the regular selection path where it waits until the user pushes "Done" (or right-clicks in a viewport as a shortcut for "Done") before the "finished" event is triggered.
> What is the difference between objectpicker.allowCurves();
> and objectpicker.allowStandaloneCurves(); ?
allowCurves() means allow any kind of curve including edge curves.
If you instead do allowStandaloneCurves() it will mean edge curves won't be allowed for the pick.
- Michael
|