查看单个帖子
旧 2009-04-13, 09:42 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】changing part configuration in a drawing possible

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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)