查看单个帖子
旧 2009-04-12, 06:45 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)