ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
SRShane Rickert05/01/2011

I am looking to create a macro to create stock sized based on drawing dimensions.  I would rather leave it to the designer to choose the stocksize dimensions, versus trust the bounding box macro to get an approximation.  The macro would function as follows:

1.  Select Three overall dimensions.

2.  Run the macro

3.  Macro would pull dimension names from the drawing and insert them as custom property values into the part file.

4.  Custom property values could then be driven back into the drawing to a title block.

I know a little bit of VB, but not enough to switch between active documents.  Does anyone have an example of a similar macro lying around they'd be willing to share?

Thanks!