几何尺寸与公差论坛

 找回密码
 注册
查看: 588|回复: 0

【转帖】question about addin

[复制链接]
发表于 2009-4-13 13:44:43 | 显示全部楼层 |阅读模式
question about addin
edit the msg: i guess my original mesg wasn't clear
the code is long so i'd better ask before posting it here
i have a part and unnamed drawing open (unnamed drawing: using new to open a drawing template)
while the part is active, i run the addin and sw automatically makes the unnamed drawing active (bring forward) and sends the current active part backward
my question is: what event causes sw switching files??? the class modules are most unmodifed from the sw template.
thx, chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
edited: 05/08/2008 at 11:19 am by chris ch
you dont run an addin on a part, and add in is run by solidworks when it is loaded and unloaded, and then anything else is done through notifications, events and item clicks.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 03:44 , Processed in 0.034920 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表