查看单个帖子
旧 2009-04-12, 10:55 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】a mistake with swchildcomp.ispatterninstance

a mistake with swchildcomp.ispatterninstance ?
hi!
i want to comment with you a problem that i have. i have an assembly with some components (parts and assemblies). i have copied an assembly by lineal matrix. i have the next code:
vchildcomp = swcomp.getchildren
for j = 0 to ubound(vchildcomp)
set swchildcomp = vchildcomp(j)
b = swchildcomp.ispatterninstance
when in swchildcomp is the assembly that i have created by lineal matrix b=true. but when in swchildcomp is a part that is in the assembly that i have created by lineal matrix b=false.
how is it possible?
thank you!
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)