查看单个帖子
旧 2009-04-13, 12:38 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】macro that loop trough assembly and sub-assembly and parts

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