Search

image image image
PC Temperature Monitor Bay The 14-bit highly accurate temperature/humidity LCD for gaming and overclocking enthusiasts is coming soon. Keep track of your case temperature to within 8 decimal places of accuracy, as well as CPU uptime and custom messages.
Learn SolidWorks API Ever wanted to learn the SolidWorks API programming language from the experts? Why not take a look at our API Books in the Features section!
AngelSix Game Studio Upcoming Xbox 360 Live games due shortly from ourselves. "The Adventures of Silver: The Dark Fiend" coming soon to Xbox 360! Find images in the Downloads section.
* * *
Tuesday September 07 , 2010
Font Size
   

Downloads

Folder Path: \ Downloads \

Folder: SolidWorks Macros

folder.png

Files:

  • zip.png

    Bulk Change Part Material

    Uploaded:
    18.01.10
    Modified:
    20.01.10
    File Size:
    11 KB
    Downloads:
    75
    Version:
    1.0

    A macro to change bulk Part Material. The macro will open each part, change the material, rebuild, save and close the file.

    Change the material and if required change the database too.

    ' Prerequisites: Set the directories having part files you wish to change the material

    Macro will find all the part files in the specified folder/location and change the material to specified one.

  • zip.png

    Change Sheet Format

    Uploaded:
    18.01.10
    Modified:
    20.01.10
    File Size:
    8 KB
    Downloads:
    93
    Version:
    1.0

    A macro on changing/updating sheet format of multiple drawings.

  • zip.png

    Feature Tree to Clipboard

    Uploaded:
    18.01.10
    Modified:
    20.01.10
    File Size:
    13 KB
    Downloads:
    58
    Version:
    1.0

    This macro is a simple one to copy the active documents feature tree directly to the clipboard.

  • zip.png

    Auto-create Drawing from Model

    Uploaded:
    18.01.10
    Modified:
    20.01.10
    File Size:
    14 KB
    Downloads:
    174
    Version:
    1.0

    This macro with one click creates a drawing with 3 common views and an isometric view, aligns them and inserts all dimensions onto the 3 standard views, and saves it to the same location as the model.

  • zip.png

    Delete Design Table

    Uploaded:
    18.01.10
    Modified:
    20.01.10
    File Size:
    8 KB
    Downloads:
    32
    Version:
    1.0

    This macro is nice and simple; it deletes the currently active models design table

  • zip.png

    Set Document Arrows

    Uploaded:
    18.01.10
    Modified:
    20.01.10
    File Size:
    9 KB
    Downloads:
    45
    Version:
    1.0

    This macro is short and sweet. With one click sets the current documents Arrow formats up to whatever you specify within this macro. This is ideal for updating old templates to the new standards.

  • zip.png

    Set Document Font

    Uploaded:
    18.01.10
    Modified:
    20.01.10
    File Size:
    9 KB
    Downloads:
    45
    Version:
    1.0

    This macro is similar to Document Arrows. With one click sets the current documents Font styles to whatever you specify within this macro. This is ideal for updating old templates to the new standards.

  • zip.png

    Equation Editor

    Uploaded:
    18.01.10
    Modified:
    20.01.10
    File Size:
    13 KB
    Downloads:
    57
    Version:
    1.0

    This is a simple tool that mimics the "Edit All" equation options of a model just like SolidWorks... only this one works.

  • zip.png

    Export BOM

    Uploaded:
    18.01.10
    Modified:
    20.01.10
    File Size:
    14 KB
    Downloads:
    128
    Version:
    1.0

    You have two methods for extracting BOMs to Excel. One is the in built function of SolidWorks, and the second is the manual way to creating exactly what you want in an Excel sheet.

    The attached Macro does performs both.

    Make sure you check that your References... are setup to your version of SolidWorks & Excel (Current example is SW2008 & Excel 2007):

    You may use this macro however you wish, I only ask you leave the commented credits within the macro.

    If you wish to save each BOM under the name of a value from the custom properties, such as $PRPSHEET:{Description}, you would modify the code to get the bomPath as follows:

    Code:
    Dim swApp               As SldWorks.SldWorks
    Dim swModel             As SldWorks.ModelDoc2
    Dim valOut              As String
    Dim resolvedValOut      As String
    Dim config As SldWorks.Configuration
    Dim cpm As SldWorks.CustomPropertyManager

    Set swApp = Application.SldWorks
    Set swModel = swApp.ActiveDoc

    Set cpm = swModel.Extension.CustomPropertyManager("")
    If Not cpm Is Nothing Then
    cpm.Get2 "description", valOut, resolvedValOut
    End If


    Now with resolvedValOut you may use that as the filename in any way you wish.

  • zip.png

    Export Flat Pattern View

    Uploaded:
    18.01.10
    Modified:
    20.01.10
    File Size:
    11 KB
    Downloads:
    89
    Version:
    1.0

    Preconditions: A Sheet metal part is open.

    Postconditions: Macro will export flat pattern view for all configuration(s) and save as dxf in the same location.

Page 1 of 4
Results 1 - 10 of 31

Activity