几何尺寸与公差论坛

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

【转帖】help with macro

[复制链接]
发表于 2009-4-13 11:45:15 | 显示全部楼层 |阅读模式
help with macro
hi i have tried to run the following macro but it always promt the dimension quantities and i have to make an enter o esc to keep running the macro.
i tried to put part.clearselection2 true and part.setpickmode after the lines which creates the dimension but it doesn't work.
thank you in advance
daniel
add "swapp.setuserpreferencetoggle swinputdimvaloncreate, false" at the beginning of your code - for example right after "set swapp = application.sldworks".
it will set the "input dimension value" option (options/system options/general) to false.
jorn bjarning
cswp
cad & plm consultant
sw2008 sp5 / sw2009 sp2
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 18:11 , Processed in 0.034908 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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