几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】macro starting another solidworks session (http://www.dimcax.com/hust/showthread.php?t=4812)

yang686526 2009-04-12 09:40 PM

【转帖】macro starting another solidworks session
 
macro starting another solidworks session
i have one machine here that has recently just had 2009 installed. this machine has both 2008 and 2009 on it.
ever since i installed 2009 on it, our macros no longer work within 2008. they work fine in 2009 however.
what happens is when 2008 is loaded, the user starts the macro, and its opening an additional "sldworks.exe" in the background in the task manager. then the macro's error trap errors with our message that "solidworks is not open".
this is only happening on this one machine, the other one i have works fine. only difference is the working machine is 64bit.
jason capriotti
jason.capriotti@thyssenkrupp.com
solidworks 2009 sp3.0
winxp 32 & 64bit
what versions of 08 and 09 are on each, and which are x32 and which are x64? also, have you altered any references in the macros?


所有的时间均为北京时间。 现在的时间是 08:07 PM.