几何尺寸与公差论坛

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

【转帖】changing part configuration in a drawing possible

[复制链接]
发表于 2009-4-13 09:42:16 | 显示全部楼层 |阅读模式
changing part configuration in a drawing possible?
i have a part in a drawing (sw 2008) and i have a configuration list for the part. i would like to create a macro that will change the configuration of the part but am having an issue. i know that if you use part.showconfiguration "name" then it will change the configuration but only if you are in an assembly or editing the part. that command will not change the configuration while you are working in a drawing. i have already tried recording the macro with no luck. does anyone have any suggestions or maybe know a reference website with all the vba functions for a part?
thanks in advance!
-solidworks 2009 sp1
--dell precision m6300-
---intel core2 duo t9300------------------------
----nvidia quadro fx 3600m - 4gb ram----------
sean,
try looking at view::referencedconfiguration. i think it is what you are looking for.
jorn bjarning
cswp
cad & plm consultant
sw2008 sp5 / sw2009 sp2
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-24 07:47 , Processed in 0.035321 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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