I’m pleased to see that some people are still looking for the “RedLight” tool I developed at DynaBits back in 2003. I therefore decided to make it available again here, especially because it has a button that points to my PayPal account which is still valid, and, just to mention, no one never ever paid a single $, € or CHF for RedLight …

Technically, since this is a blog about API, the trick is to stop a rebuild when it starts by handling the RegenNotify event and exploiting this information from the API help : “Return S_FALSE to stop from proceeding with the action that caused the notification.”

 

 

Below is a copy of the (old) page about RedLight on DynaBits’ web site:

 

redlightlogo.png “RedLight” is a FREE add-in for SolidWorks to avoid (automatic) rebuilds and measure edit/idle time.

Continue reading ‘Redlight forever !’


This macro exports parts and (simple) assemblies to Alias OBJ format, generating a corresponding MTL material file at the same time.

This will evolve towards an exporter to Hyperion soon …

Continue reading ‘OBJ+MTL exporter’


Layers

30Jan07

SolidWorks macro to organise segments from an imported dxf/dwg by color on layers

Imagine you get a large dxf or dwg which has been colorized by hand, without using layers. This macro will let you edit the drawing cleanly in SolidWorks, by placing all segments with the same color on specific layers.

Continue reading ‘Layers’


ViewSize

12Jan07

Macro to resize the model view for screen captures

Saving your models as pictures for documentation ? Then you know the problem : the images will have 912×534 pixels one day and 1143×712 the day after. If you don’t want to edit your images in a second step, here is a macro that sets the graphic area to a specified size:

Continue reading ‘ViewSize’


AddWeldMass

12Jan07

Solidworks macro to add mass/weight custom properties for cut lists

If you want to list weights of welded parts in a cut list, you’ll have to add properties to weldments by hand, one by one …

Here is a macro that does it automatically.

Continue reading ‘AddWeldMass’


Scale Texture

11Jan07

SolidWorks Macro to adjust texture scale to configurations sizes

If you need to adjust the material texture to many different sizes (configurations) of a part, here is a macro for you:

 Continue reading 'Scale Texture'



Blog Stats

  • 24,717 hits