New Area on Lorono’s SolidWorks Resources

Recently, a new file area on the Lorono’s SolidWorks Resources has been created, called Engineering and Design.  The purpose of this new area is to provide some general engineering and design reference materials.  These materials are not necessarily related to SolidWorks itself, but useful to its users (and really anyone in the mechanical engineering field).  This new area will be expanded rapidly over the course of this month to include files that provide organized tables and functional calculations regarding on wire gages, positional tolerancing, sheet metal tolerance, thread sizes, metal coating and finishes, etc.

If there are tables, calculation spreadsheets or other data compilations you would like added to this area, please feel free to contact me with your files so that they may be included.  (I will not put up copyrighted material, like images of charts made by this or that publisher, without permission from the author.  However, data itself will be welcomed, preferably within an excel file.)

Also, comment here if you have any particular requests for this or any file area.

Macro to add Revisions to Drawing Revision block table

A while ago, I created a SolidWorks macro that allows the user to quickly add new revisions to a drawing’s revision block table. It’s called RevBlockControl. I’m fairly proud of this macro because of its flexibility and easy of use. Within SolidWorks, it can be used for any ASME Y14.35M-1997 compliant revision block table and even supports not so compliant layouts. One cool feature is that it supports revision block tables that start either from the top or bottom of a drawing. The macro even provides an option to update a revision custom property (though the name of the custom property is stored in the code). This one function, of course, is not as useful for those who update their custom properties within the part model. Another requested feature that was included is the addition of buttons to insert some common special characters like line feed and the +/- symbol.

RevBlockControl 1.01

Image of an early version of the RevBlockControl

This macro will not work with manually drawn or excel based revision blocks. It only works with a SolidWorks revision block table.  One area of the macro needing improvement is that of settings. Currently, the settings are stored within the code itself, or user selected each time the macro is run. Also, it does not validate if the current revision block table matches the user selected settings. However, it does have clear instructions within a detailed help area that will allow even a novice user to quickly modify the code to establish their settings preferences. There is currently only one known bug involving the form X button. Use the actual Cancel button if quitting the macro without making changes to the revision block table.

One big plus of the macro is that it has a simple preview area that allows the user to visualize how their revision entry will appear. The preview updates to match whatever settings are selected, and any data entered into the input fields.

The macro may be downloaded here: RevBlockControl.  It may be freely distributed. For additional details, see its .txt file and its help area.  Feedback is always welcome.