code: def zSaveFile(self, fileName):
          
          cmd = "SaveFile,{}".format(fileName)
          reply = self._sendDDEcommand(cmd)
          return int(float(reply.rstrip()))
docs: Saves the lens currently loaded in the server to a Zemax file