Back in BR days, S&T used to use its own specialist CAD software for things like signalling plans and circuit design. I understand it was based on commercial software (autocad?). After privatisation, Railtrack and then Network Rail, plus the various private supply companies, continued to use that software, under licence from one of the suppliers who supported it. However, I am not sure what the current situation is.
Network Rail did have a project that was intended to produce various different types of CAD design from an underlying database, but I understand that they have given up on it.