几何尺寸与公差论坛

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

【转帖】macro run automatically when open a file

[复制链接]
发表于 2009-4-13 12:38:26 | 显示全部楼层 |阅读模式
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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 14:38 , Processed in 0.107603 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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