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

iterating through sub-assemblies
i want to write a vba macro that will delete an undetermined number of sub-assemblies from an assembly.
what is the best way to iterate through the instances of the sub-assemblies and delete them?
lookup traversing through model in api file. then just check the component type to see if it is an assembly, then delete if whatever conditions you require are met.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)