SPECapc SW 2007

Discussion in 'SolidWorks' started by Dale Dunn, May 10, 2007.

  1. Dale Dunn

    TOP Guest

    That group wouldn't be too bad, it is Dan Bovnich's group. One plus is
    that you can add directly to the spreadsheet without going through
    Dan. You can also do other spreadsheet things like sorting on your
    favorite column (mine is CPU) and graphing.

    TOP
     
    TOP, Jun 6, 2007
    #21
  2. Dale Dunn

    TOP Guest

    Anna,

    Here is a macro that will run and time your die plate in a consistent
    manner. A force rebuild from the API is more thorough than CTRL-Q so
    you might get different times. This macro will work with Parts,
    Assemblies and Drawings.

    '******************************************************************************
    ' SuperRebuild recorded on 07/29/05 by TOP
    '
    ' 6/5/07 Force Verification on rebuild off before running.
    '
    '******************************************************************************
    Dim swApp As Object
    Dim Part As Object
    Dim boolstatus As Boolean
    Dim longstatus As Long, longwarnings As Long
    Dim FeatureData As Object
    Dim Feature As Object
    Dim Component As Object
    Sub main()

    Set swApp = Application.SldWorks
    Set Part = swApp.ActiveDoc

    Part.SetAddToDB True
    Part.SetDisplayWhenAdded (False)

    swApp.SetUserPreferenceToggle swPerformanceVerifyOnRebuild, False
    STIME = Timer
    retval = Part.ForceRebuild3(True)
    ETIME = Timer
    'swApp.SetUserPreferenceToggle swPerformanceVerifyOnRebuild, False


    Part.SetAddToDB False
    Part.SetDisplayWhenAdded (True)
    boolstatus = MsgBox(Format(ETIME - STIME, "0.000") & " seconds",
    vbOKOnly, "SUPER REBUILD")

    End Sub
     
    TOP, Jun 6, 2007
    #22
  3. Dale Dunn

    Anna Wood Guest

    TOP,

    I think you can add directly to the spreadsheet because Dan has added
    you as a collaborator for the spreadsheet. I do not beleive there is
    a global setting to allow you to make a spreadsheet public for
    modifications. I haven't found it yet anyway... :) I beleive Dan B
    may be actively managing the collaborators list for his spreadsheet.

    The Google Spreadsheets are a really neat tool for this type of
    collaboration we are doing here.... :)

    Regards,

    Anna
     
    Anna Wood, Jun 6, 2007
    #23
  4. Dale Dunn

    Anna Wood Guest

    TOP,

    Thanks for the macro.... :)

    Where are the couple benchmarks you have created posted at? Do you
    have some time to update them so they work in SW2007?

    I am willing to create a couple Google Spreadsheets to track results
    from the benchmarks you have created. Would be interesting to create
    a Google Spreadsheet for Mike Wilson's Ship in The Bottle also...

    Regards,

    Anna
     
    Anna Wood, Jun 6, 2007
    #24
  5. Dale Dunn

    TOP Guest

    I had them on my website. It is down now, but given the interest in
    the subject I may bring it back up shortly.

    TOP
     
    TOP, Jun 6, 2007
    #25
  6. Anna,

    Thanks!


    Jerry Steiger
    Tripod Data Systems
    "take the garbage out, dear"
     
    Jerry Steiger, Jun 12, 2007
    #26

  7. OK, Paul, you convinced me to sign up.

    Jerry Steiger
    Tripod Data Systems
    "take the garbage out, dear"
     
    Jerry Steiger, Jun 12, 2007
    #27
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.