查看单个帖子
旧 2009-04-12, 09:14 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】how to check to see if part is mirrored

how to check to see if part is mirrored
hi,
i wrote a program in vb6 and it checks to see if the part is mirrored or not, but it crashes in older version of sw than 2008 because i used the ismirrored function to check if the part is mirrored or not. and that function was only made available in 2008.
is there another way to check if the part is mirrored ?
i tried looping through all the features of the part but when it comes to the mirrored part it does not list a mirrored feature. so i am kinda stuck.
any help thanks.
solidworks 2006,2007,2008,2009 (office premium.)
core 2 duo e6850 @ 3.00 mhz
window xp pro sp3 32 bit
ati firegl v7350
always a way !!
if swmirrorfeature.gettypename = "mirrorstock" then
retval = true
else
retval = false
end if
solidworks 2006,2007,2008,2009 (office premium.)
core 2 duo e6850 @ 3.00 mhz
window xp pro sp3 32 bit
ati firegl v7350
i had a similar problem and i used this answer and it helped me.
thanks ben.
adar
i'm glad it helped.
solidworks 2006,2007,2008,2009 (office premium.)
core 2 duo e6850 @ 3.00 mhz
window xp pro sp3 32 bit
ati firegl v7350
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)