查看单个帖子
旧 2009-04-13, 12:38 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】macro run automatically when open a file

macro run automatically when open a file
hi guys,
do you know how to call a macro automatically (without a button) when you open a drawing, another when you open a part and samething for the close events ?
thanks,
steph
you need notifications and events, and to run the macro on starting sw, or run it from an addin. i will be covering the topics in my book, its not really a one line answer. i think there may be examples in the api examples section of this site though.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)