查看单个帖子
旧 2009-04-13, 09:11 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】automatically select a feature

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.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)