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

in 2015 solidworks introduced a feature that allowed you to pre-select sketch entities and then click or press smart dimension hotkey/button, this would automatically add the desired dimension type to...

I see no feature in Solidworks to select only arcs in a sketch. The entire selection feature in solidworks could be expanded/improved. I do not know how to code. Can...

I need a macro that will the active SWD drawing solidworks ro dxf format , with name of file with next revision level.

Okay, I need the Solidworks macro to perform/run 14 exact tasks listed below on: (A) The whole Assembly (B) The exploded view of the whole assembly where each part automatically...

I'm trying to make the export folder go to a folder labeled with the current date. I've changed `Const OUT_NAME_TEMPLATE As String = "DXFs\_.dxf"` to `Const OUT_NAME_TEMPLATE As String =...

Hello, Would it be possible to create a macro for changing the color of center line & marks to yellow and changing section line to purple?

I'm looking for a macro that can take bulk drawings and their reference parts/assemblies with file names in this format: "1234567-89-A_description of varying length" and resave both drawing and part...

Hi There, I am after a macro that enters a custom value say - ID for a cutlist item (sheetmetal/weldment) - 01 & increments for the rest of the cut...

Add placeholder to be resolved to the quantity of the specified flat pattern. This should represent the flat quantity of the component in the assembly but also the quantity of...

enhancement

Hi, I have been using the export flat patterns macro and was wondering if it would be possible to add a prompt for the user to specify the location where...