I am trying to change the data source of a CAD layer in a Pro map using arcpy. Looking at the documentation on the arcpy.mp.Layer class I can see that the updateConnectionProperties method is the one to use. Get the connection properties dictionary from the existing layer, change what needs to be changed, and give the new connection properties to this method. But, the connectionProperties does not include the name of the drawing file, just the folder containing the file.
Here's an example: I have 2 layers in a Pro map from the Polyline layer of 2 different drawings, MyDrawing1.dwg and MyDrawing2.dwg in the same folder