Check the macro in this post to get the drawing file name only: Macro - Get File Name Stripped Down in Drawing File
And for setting sheets as PDF or DXF, check macro in this post: Save As PDF Macro, Not Save Certain Sheets
I have looked at most of the threads pertaining to what I am looking for but I guess my issue right now is getting them all to work together into one macro. Also is it possible to add the current revision to the pdf/dxf file name sourced from the part custom property "Revision" within the open drawing? I have only been able to get some of these macros to work for me from trial and error as I don't quite have the knowledge yet to know what I am looking at.
I've made an macro to do exactly what you are looking for, I won't give it to you however I'll give you a run down of what you need to do. An issue I ran into is some time my drawings were 2 sheets total, one is the drawing the second is the DXF or I could get upwards of 3-4 drawing sheets with one DXF.
I used Get4 to gather the information I needed from custom properties.
I used GetSheetNames to extract all the drawing sheet names. I would then make a new name string excluding the DXF sheet.
Then set the sheets using SetSheets, which determined the sheets to save as a PDF.
Save as using SaveAs which would then save the drawing as a PDF in the location with the custom properties data as the name.
I would then activate the DXF sheet and use SaveAs4 and I needed to make sure in my save options for DXF to only export active sheet.
API help and the forum will give you all the information you need for this.
Here is the example from API help for saving as a PDF:
and here is the example saving as a DXF:
They should guide you how to write this macro.