几何尺寸与公差论坛

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

【转帖】macro that loop trough assembly and sub-assembly and parts

[复制链接]
发表于 2009-4-13 12:38:49 | 显示全部楼层 |阅读模式
macro that loop trough assembly and sub-assembly and parts
hi,
did someone have done a macro that loop trough assembly and sub-assembly and parts, from a drawing, to find some feature (ex.: i would like to know all the parts name in a drawing?) if so, could post your macro here or help me how to do that !
thanks again!
steph
edited: 05/05/2008 at 08:27 am by stephane demers
look up "traversing assembly at component and feature levels example (vb)
" in api help.
-mb
it works for an assembly but when you are in a drawing how do you do that ?
how do you activate your assembly ?
steph
stephane
have you tried getdependencies? it returns all the parts in a drawing but doesn't loop through the tree.
dan miel
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 14:12 , Processed in 0.033914 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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