Sets loft options from the current values of system variables.
Returns eOk if options were successfully set or an appropriate error otherwise.