rswarich
Structural
- Jan 17, 2003
- 5
Hello,
We have a SolidWorks model that uses a very large Excel design table (over 50 dimensions). Just before rebuilding is complete, which seems to take longer in SW2003, sometimes a message box pops up saying Server Busy, and gives the option to re-try to connect to Excel or cancel.
We have written a VBA macro in Excel to open Solidworks and insert the design table.
Our re-seller says design tables are limited to 24 dimensions and that is the problem.
I found something about the OLE server being controllable from within VB on another board-this might work on this problem. The command in VB is:
App.OLEServerBusyTimeout = 20000
But this command does not work in VBA Excel macros.
Questions:
1. Has anyone else experienced similar problems with "large" design tables from Excel in SolidWorks 2003 and the Server Busy message box? Is there any way to eliminate this from the SolidWorks side? Is there a way to speed up the re-build time after inserting design tables?
2. Any VBA experts familiar with how to increase the OLEserverbusytimeout in a VBA Excel macro?
Any other ideas are appreciated. The idea behind our macros is that the user just will hit a button in Excel and have the SW model open and run FEA without having to enter anything else, so having the Server Busy message box wait for user inputs will kill the usefulness of our macro.
Thanks to all.
We have a SolidWorks model that uses a very large Excel design table (over 50 dimensions). Just before rebuilding is complete, which seems to take longer in SW2003, sometimes a message box pops up saying Server Busy, and gives the option to re-try to connect to Excel or cancel.
We have written a VBA macro in Excel to open Solidworks and insert the design table.
Our re-seller says design tables are limited to 24 dimensions and that is the problem.
I found something about the OLE server being controllable from within VB on another board-this might work on this problem. The command in VB is:
App.OLEServerBusyTimeout = 20000
But this command does not work in VBA Excel macros.
Questions:
1. Has anyone else experienced similar problems with "large" design tables from Excel in SolidWorks 2003 and the Server Busy message box? Is there any way to eliminate this from the SolidWorks side? Is there a way to speed up the re-build time after inserting design tables?
2. Any VBA experts familiar with how to increase the OLEserverbusytimeout in a VBA Excel macro?
Any other ideas are appreciated. The idea behind our macros is that the user just will hit a button in Excel and have the SW model open and run FEA without having to enter anything else, so having the Server Busy message box wait for user inputs will kill the usefulness of our macro.
Thanks to all.