solidworks二次开发-03-访问特征数据 c">
aspx">solidworks二次开发-03-访问特征数据
option explicitdim swapp as sldworks.sldworksdim model as modeldoc2dim curfeature as featuredim boolstatus as booleandim featdata as simpleholefeaturedata2 声明一个简单直孔对象dim component as component2 dim dep as doubledim dia as doubledim selmgr as selectionmgrdim ncount as integer 【程序编程相关:如何使用vb6.0来实现中文实名搜索 】
coder arden filename : getchoosed.swpdate :2005-03-22used to get the simple hole infomation dep & diafinished lucky !!------------------------------------------------------------ 【推荐阅读:记录下一些关于测试工具NUNIT的链接资】
sub getselected() 【扩展信息:[原创]C#实现Window管道技术 】
set swapp = application.sldworks
set model = swapp.activedoc
set selmgr = model.selectionmanager
set curfeature = selmgr.getselectedobject5(1) 得到当前选中的第一个特征
... 下一页