几何尺寸与公差论坛

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

【转帖】how to check to see if part is mirrored

[复制链接]
发表于 2009-4-12 21:14:08 | 显示全部楼层 |阅读模式
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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