Enginerd9
Mechanical
- Jan 11, 2008
- 149
Anyone know if you can write macros in ST6?
I want to be able to create a PDF from a draft by collecting embedded properties, appending them to a file name, then dropping it into a known file location. For example: my draft is called [Part Number as File Name].dft. I want to save the PDF to be [Part Number as File Name]-[%Revision|G]-[%Description|G].pdf, saved to C:/Some Folder Name Which Is Relevant.
Once this is done, I want to assign that macro to a user button so I can execute it with every draft.
If I can get that working, I can export to DXF, DWG, and maybe STEP as well in the same file naming convention.
Thanks!
I want to be able to create a PDF from a draft by collecting embedded properties, appending them to a file name, then dropping it into a known file location. For example: my draft is called [Part Number as File Name].dft. I want to save the PDF to be [Part Number as File Name]-[%Revision|G]-[%Description|G].pdf, saved to C:/Some Folder Name Which Is Relevant.
Once this is done, I want to assign that macro to a user button so I can execute it with every draft.
If I can get that working, I can export to DXF, DWG, and maybe STEP as well in the same file naming convention.
Thanks!