Prevent featureScript from pre-calculating
timo_schmid
Member Posts: 36 EDU
Hi everyone,
I wrote a longer featureScript which needs about 10-20 selected vertices as input. When I start selecting them, it atomatically starts calculating which makes the process of selecting the vertices more difficult/slower.
Is there a way to stop the script from caclulating anything until I click the checkmark to finish the featureScript call?
Thanks for your help,
Timo
I wrote a longer featureScript which needs about 10-20 selected vertices as input. When I start selecting them, it atomatically starts calculating which makes the process of selecting the vertices more difficult/slower.
Is there a way to stop the script from caclulating anything until I click the checkmark to finish the featureScript call?
Thanks for your help,
Timo
Tagged:
0
Comments
-
Yea, add the boolean parameter like definition.calculate and wrap all heavy code in if (definition.calculate) { }
3 -
Oh yeah, good solution.
Thanks
0
