查看单个帖子
旧 2009-04-12, 09:45 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】message window

message window
is there a way that you can ask every user a question every time a user starts a new drawing? something simply with just a "ok" button to make it go away?
thanks,
mike
there are two ways. the best way is to write a custom .dll add-in that loads with solidworks. the add-in can listen for certain events in solidworks, and starting a new drawing is one thing it can listen for.
the other way is a macro. it works pretty much the same as an add-in, but you have to start the macro every time you run solidworks. you can set up the shortcut to solidworks so that it runs the macro at startup. the macro method is not as efficient as a .dll.
i'll get you eh steve, if it's the last thing i dooooo!
i'm kind of new at the whole api thing. is there a good place to look on the net for more help?
you may find my book a good start the link is in my sig. the final chapter touches on addins and you can adapt that very easily then to do what you like.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)