Generating DSM contours from DTM contours

Hello. I have processed one of my projects on Pix4D mapper and generated contours (.dxf) from DTM. I wish to generate contours (.dxf) from DSM without having to do the entire process (of uploading files on cloud) again. Is there any process of doing this without having to upload files again on cloud? Thanks in advance.