几何尺寸与公差论坛

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

【转帖】remove tolerances from drawing

[复制链接]
发表于 2009-4-12 22:11:55 | 显示全部楼层 |阅读模式
remove tolerances from drawing
is it possible to remove all tolerances from a drawing by using a macro?
feroz mahomed
windows xp professional sp2
sworks 2009 sp2
nvidia quadro fx1500
yes editdimensionproperties2 will do that. select all the dimensions and run these codes.
******
sub main()
set swapp = application.sldworks
set swmodel = swapp.activedoc
swmodel.editdimensionproperties2 0, 0, 0, "", "", 1, 9, 2, 1, 11, 11, "", "", 1, "", "", 0
swmodel.clearselection2 true
swmodel.viewzoomtofit2
end sub
deepak gupta
sw2007 sp5.0
sw2009 sp2.1
answer deepak,
thanks. that works fine.
feroz mahomed
windows xp professional sp2
sworks 2009 sp2
nvidia quadro fx1500
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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