Tlaloc Lv 1
Yes…a button and a lua function, please!
Yes…a button and a lua function, please!
The newest update has a button and lua function for restoring the "credit best", the best solution that satisfies all the conditions and therefore gets credit.
Nice job, but we still need a "set very best" function.
An example:
If you do a rebuild, it often creates more than one result in the undo bar.
Most times, the first rebuild results are better than the last ones, but you can only get the very last rebuild result by script, as no other script commands are executed, when a tool is running.
Setting the "very best" state before rebuilding and getting the very best result at the end of rebuild would fish out the very best of all rebuild states which were generated by the rebuild command.
Kind regards,
Alex
Thanks to the developers for addressing this issue, but the implemented solution, restore_credit_best(), simply doesn't work as far as scripting is concerned. The main issue is that the user will be forced, for many scripts, to start at the best solution rather a lower-scoring one of their own choosing, making exploration of alternate structures more difficult. There are other problems too.
Preferable would be a function such as is_condition_met() which would return a boolean value. Much more flexible and hopefully easy to implement.
Just as spvincent said, scratching at the top the whole time doesn't help.
We definitely need a possibility to change the "very best" state.
There needs to be two functions:
1) are_conditions_met()
2) get_credit_best_score()
While you are implementing that last one, can we get
3) get_recent_best_score()
4) get_absolute_best_score()
as well. These should all return negative scores or have the argument that allows negative scores.
the requested functions should have gone out in Lua V2