I don’t have a definitive list of 2Ps that ran on the line. Some of the shed allocation lists are useful but its worth bearing in mind that some transfers from one shed or region to another may simply be a paperwork exercise and never actually happened.
I’ve a fair number of S&D books and over the years I’ve collated most of the picture caption data into a list. From this list (and allowing for picture caption errors and my own transcription errors) the following 2Ps exist in photos somewhere between Bath and Bournemouth West between 1949 and 1962 - 40505, 40509, 40511, 40527, 40537, 40563, 40564, 40568, 40569, 40601, 40634, 40652, 40696, 40697, 40698 and 40700.
Iain