几何尺寸与公差论坛

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

【转帖】automatically select a feature

[复制链接]
发表于 2009-4-13 09:11:30 | 显示全部楼层 |阅读模式
automatically select a feature
hi, i am just trying to write a macro which will automatically select a feature by traversing the feature manager design tree. i know how to make the macro traversing the feature manager design tree.
thanks.
sonju,
try around selectionmanager::select4
regards, basil
"and when you loose control,
you'll reap the harvest you have sown..." (c) pink floyd
solidworks 2008 x64 sp5.0 (production)
solidworks 2009 x64 sp2.0 (testing)
windows xp x64 sp2
core2quad 6600, 4gb ram, 500gb sata, ati firegl v7700 1024mb (softmodded from hd3850), 19" tft
hi sonju
what feature are you looking to select? what information do you have about this feature?
have a look in the api for feature::select2. there you can find examples too.
cheers,
--stav.
in this world i am nobody...
and nobody is perfect ;) !!!
---------
solidworks office 2008 sp4.0
dell precision pws390
nvidia quadro fx 3450/4000 sdi
you can also use selectfeaturebyname (i believe that is what it is called) if you know the name.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-24 03:06 , Processed in 0.035183 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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