- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I found this code that exports to stp and am trying to get it to work the way I want the file name to appear.
Originally, the code would check to see if there was an existing file with the same name and increment the file name using the variable counter if needed. This works perfectly, just not what the client wants. 721001_Vxx.stp
I would like to have it add the date instead so the filename reads: 721001 8/11/2015 5:25 PM.stp
There is a custom iprop called PlotDate&Time in my part and asm files I am trying to use instead of the _Vxx.
The code runs as modified and gets to the open folder dialog but when opening the folder there isn't a file there. It seems to be doing something, just not creating the file.
Not knowing programming much at all, I don't know how to get this to work as I would like.
Any help would be much appreciated.
Solved! Go to Solution.