XtremeBen
Mechanical
- Apr 11, 2006
- 8
Hello everyone,
Our team here at HUFCOR has been working with Solidworks Design Tables for the past few months, in an attempt to integrate them into our product design and structure. Right now we are in the middle of a large-scale product consolidation and are converting our entire product line over from AutoCAD to Solidworks models. Most of our products require the use of a design table to create multiple configurations for variable height and width. This also plays into the product assemblies, as they too need to have the capability to vary the height and width.
Although the design tables have been working great for us, it seems that Solidworks has left something out. What we would like to be able to do is vary our design table calculations from one master “Deduct” Table. For example lets say we have a frame that is variable in height and width based on a deduct number that is set in our master table. Then say for a special job we need to change that deduct number, and want it to change all the part design tables, and in turn change our assemblies. We have figured out how to change the part design tables just fine. What we are going to do is save all the part design tables externally from Solidworks in one directory. Then in the master directory we will save our “Deduct” master table, which will control the calculations of all the part tables. We will then use an excel macro to open all the part design tables, save the changes, and close the file. We have tested this and it works just fine. The problem comes in with how Solidworks updates the part and assembly files. In order to see the updates to the design table, we have to open the part, then open the design table, save the design table, and then close the part. Only then we see the changes to the part. What makes it worse is that most of the time, we only will be opening the assemblies, not the part files, thus we would never see the changes made to the design table without opening each part file and going through the whole procedure.
Our questions are:
1.)Are we approaching this correctly? Is there a better way to update all of our parts with one master file?
2.)Is there a way to update our assemblies without opening all of the part files?
3.)If not to the above, is there a way to open all the part files and update them automatically?
4.)Has anyone written a macro or VB code that would do something like this and would be willing to share it with us?
Any help would be greatly appreciated. Thanks a lot!
Our team here at HUFCOR has been working with Solidworks Design Tables for the past few months, in an attempt to integrate them into our product design and structure. Right now we are in the middle of a large-scale product consolidation and are converting our entire product line over from AutoCAD to Solidworks models. Most of our products require the use of a design table to create multiple configurations for variable height and width. This also plays into the product assemblies, as they too need to have the capability to vary the height and width.
Although the design tables have been working great for us, it seems that Solidworks has left something out. What we would like to be able to do is vary our design table calculations from one master “Deduct” Table. For example lets say we have a frame that is variable in height and width based on a deduct number that is set in our master table. Then say for a special job we need to change that deduct number, and want it to change all the part design tables, and in turn change our assemblies. We have figured out how to change the part design tables just fine. What we are going to do is save all the part design tables externally from Solidworks in one directory. Then in the master directory we will save our “Deduct” master table, which will control the calculations of all the part tables. We will then use an excel macro to open all the part design tables, save the changes, and close the file. We have tested this and it works just fine. The problem comes in with how Solidworks updates the part and assembly files. In order to see the updates to the design table, we have to open the part, then open the design table, save the design table, and then close the part. Only then we see the changes to the part. What makes it worse is that most of the time, we only will be opening the assemblies, not the part files, thus we would never see the changes made to the design table without opening each part file and going through the whole procedure.
Our questions are:
1.)Are we approaching this correctly? Is there a better way to update all of our parts with one master file?
2.)Is there a way to update our assemblies without opening all of the part files?
3.)If not to the above, is there a way to open all the part files and update them automatically?
4.)Has anyone written a macro or VB code that would do something like this and would be willing to share it with us?
Any help would be greatly appreciated. Thanks a lot!