Rules for setting required treatments for a lens.
There is a column (N) in the lenses csv. This was originally for coating required but has been expanded to cover all treatment types.
If it is blank or 0 then there are no specific requirements for a treatment.
If it is 1 then a coating is required.
If it is a coating code eg HC then a coating is required and this coating code is the default choice.
If the entry is TINT then a tint is required. If a specific tint is required then is can be followed by a code eg TINTBR85 will set BR85 as the tint.
If the entry is UV then a UV is required. If a specific UV is required then it can be followed by a code eg UVUV400 will set UV400 as the UV.
Multiple entries can be made by separating with a :
So HC:TINT will set HC as the default coating and that Tint is required.