Timestamp filename when choosing "save as"

Discussion in 'SolidWorks' started by hvdstroet, Sep 20, 2005.

  1. hvdstroet

    hvdstroet Guest

    Hello,

    When picking the "save as" option, SolidWorks comes up with a filename
    like part1.sldprt.
    To prevent storing parts with the same file name, we'd like to get a
    timestamp in the filename field. So when a new part is created,
    SolidWorks doesn't prompt with part1.sldprt, but with something like
    010605151530.sldprt. (June 1st 2005, 15:15 and 30 seconds).

    Anybody an idea to solve this problem?

    Thanks in advance,

    Henk
     
    hvdstroet, Sep 20, 2005
    #1
  2. hvdstroet

    GreenHex Guest

    GreenHex, Sep 20, 2005
    #2
  3. hvdstroet

    hvdstroet Guest

    That's a possibility. I have asked the owner of the website to send me
    a copy of this software while it is currently not available for
    download.

    Besides that, I am still interested to hear from somebody how we can
    solve this problem by using a VB macro.
     
    hvdstroet, Sep 21, 2005
    #3
  4. Hi,

    how about using SWas? you can use any attributes that you have in your
    models to define the filename. (for me, just using date looks messy, it
    doens't tell me anything about the model itself)

    free download: www.markkulehtola.net/swxx.html



    --


    Markku Lehtola

    www.markkulehtola.net
     
    Markku Lehtola, Sep 21, 2005
    #4
  5. hvdstroet

    hvdstroet Guest

    My intention was to make a macro which opened the "save as" dialog box,
    and filled in a timestamp as file name. The current user could modify
    the filename in something like "mycreation_timestamp.sldprt". When this
    was done, I was sure, there was no other file with the same name.
    It seems to be a little difficult to make this.

    Maybe has somebody else a solution to solve this?
     
    hvdstroet, Sep 21, 2005
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.