AnsweredAssumed Answered

Automatic assemblies and VBA

Question asked by Beraudo Rodolphe on Jun 20, 2012
Latest reply on Jun 20, 2012 by Beraudo Rodolphe

Hi everybody.


Here is my problem : I would like to create a macro (vba code) to open solidworks via excel (this part already works) and create an assembly filled in with some components (.SLDPRT files).


Example : in excel I enter the word "a22b". Then thanks the vba code, solidworks opens and creates an assembly file named "a22b". Then it searches for the different components (each caracter of "a22b" corresponds for one component I have already created) and put them in the assembly file.


If there is anything unclear in what I wrote, don't hesitate to ask. Thanks for your comments and responses anyway !