codestack icon indicating copy to clipboard operation
codestack copied to clipboard

Library of SOLIDWORKS API, SOLIDWORKS PDM API, VBA and Desktop code examples, applications macros and tutorials.

Results 360 codestack issues
Sort by recently updated
recently updated
newest added

I am currently working with a large volume of parts and assemblies that have been created without the advantage of "Custom Properties" that now need to be exported and identified...

Gived a sketch from an imported def/dwg I want to create a sketch for every type of hole (arc/circle), every sketch with a different colour. so I can then create...

Hello, I am trying to create a macro to hide the dimension line and the extension line on a selected dimension, on one side only. It's just an equivalent of...

If possible, a macro to reload the sheet format and apply changes would be appreciated. Its only the following steps when you have a drawing opened 1. right click the...

I would like a solidworks macro to select all dims in drawing document and break the lines ![image](https://user-images.githubusercontent.com/43915290/136599337-fd96f42f-2d62-466f-8a29-10fdfa527e6a.png)

Hi, I would like to request a macro that can reload the drawing sheet

Hi, I want a macro which exports BOM from drawings to Excel format with pre-defined information and logo.

I have this macro that saves a Sheetmetal into a DXF file in a specified location. I am trying to add some line to the code to preview the file...

Every part and drawing i make, have a custom property tag based on there manufacturing method (machining, welding, bending). So i want to Batch Export drawings in pdf in a...

I'm looking for a macro to do this: With currently opened SW drawing sheet: export to DXF or DWG (ratio 1:1) into the same folder where the drawing lies with...