几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】is there an api function to end the current active command (http://www.dimcax.com/hust/showthread.php?t=4787)

yang686526 2009-04-12 09:30 PM

【转帖】is there an api function to end the current active command
 
is there an api function to end the current active command?
i created an addin for solidworks 2008. but if i run my command in the command of sw, the command of sw didn't end automatically before my command run. for example, i run the "line" command of sw, then i click the command button of my addin, my command didn't end the "line" command. is there an api function to end the current active command?
answer modeldoc2::setpickmode
thank you very much. it worked.
thank you very much.
quick


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