STEP file - Filename + Revision

First of all. I am new here and so I hope my question is appropriate for this group.

How can one create a macro that would create a STEP file (STL, IGES or any other file) and add the parts current Revision.

Example: 876543-01 RevA or 876543-01_RevA

Thank you.


Check following macros to get the required codes