几何尺寸与公差论坛

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

【转帖】macro to set dimensions to this configuration

[复制链接]
发表于 2009-4-13 12:41:59 | 显示全部楼层 |阅读模式
macro to set dimensions to this configuration.
is there a macro available that will change all sketch dimensions and plane location dimensions to this configuration only? i'm constantly changing a dimension and forgeting to set the dimension to this configuration only.
thank you.
valve guy
sw 2008 sp4.0
dell precision pws670
3.2 ghz, 1gb ram
you need to get the selected object being a displaydimension, then use dispdim.getdimension to get the dimension object, then use
dim.setsystemvalue3 yourvaluehere, swthisconfiguration, nothing
ps my book will show you exactly how to do this i have just written about this.

edited: 04/22/2008 at 11:35 am by luke malpass
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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