try this out, #TASK
it is a free program called #task, (it has free and pay features)
there is a save pdf that is free, you can also run your macros from this program.
in the arguments section of the save pdf module , you can select the naming convention
You will be hard pressed to get people to volunteer to write you a macro for free. It's most productive if you could post the code you're starting with as well as whatever changes you have made. It's not difficult to do what you are asking but it is difficult to understand the details such as how you store your revision variable.
The users in this forum are very willing to help teach others if they show they are willing to do a little hard work understanding and implementing ideas by troubleshooting their macro and asking questions when they get stuck.
With all that said, the drawing size can be found with the following block of code.
Set swDraw = objActiveDoc Set swSheet = swDraw.GetCurrentSheet strDrawSize = swSheet.GetProperties(0) Select Case strDrawSize Case 0, 1 strDrawSize = "A" Case 2 strDrawSize = "B" Case 3 strDrawSize = "C" Case 4 strDrawSize = "D" Case 5 strDrawSize = "E" Case 6, 7 strDrawSize = "A4" Case 8 strDrawSize = "A3" Case 9 strDrawSize = "A2" Case 10 strDrawSize = "A1" Case 11 strDrawSize = "A0" Case 12 strDrawSize = "X" Case Else strDrawSize = "X" End Select
The configuration name can be found with something like:
model.IGetActiveConfiguration().Name where model is an IModelDoc2 object. If you are starting with a drawing then finding the reference model to get that information from can be a bit interesting.
Start with this and let us know where you get with it.
Steve, can you try the macros from these posts: