solidworks二次开发-04-修改数据 上次已经可以访问特征的各参数了,今天我们来修改它:要修改前面的步骤不能少,当我们已经可以读取一些特征时,我们就可以给他设定一些值。"> aspx">solidworks二次开发-04-修改数据 上次已经可以访问特征的各参数了,今天我们来修改它:要修改前面的步骤不能少,当我们已经可以读取一些特征时,我们就可以给他设定一些值。_IT技术专题(solidworks二次开发-04-修改数据 )
    当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: aspx">solidworks二次开发-04-修改数据 上次已经可以访问特征的各参数了,今天我们来修改它:要修改前面的步骤不能少,当我们已经可以读取一些特征时,我们就可以给他设定一些值。
 

 

    摘要:aspx">solidworks二次开发-02-用来访问特征的两个api 来学习两个api:selectbyid2和getselectedobject5。这两个函数,第一个通过给出对象的name选择对象。第二个通过启用程序前已经选择的索引得到对象。看下面程序:option explicitdim swapp as sldworks.sldworksdim model as modeldoc2dim......
 ·在richtextbox控件加入图片     »显示摘要«
    摘要:using system;using system.collections.specialized;using system.drawing;using system.drawing.imaging;using system.io;using system.runtime.interopservices;using system.text;using system.windows.forms;na......


solidworks二次开发-04-修改数据
上一页   ...}}-->        }}-->style = vbokonly ok button only

}}-->        }}-->title = "error" define title

【程序编程相关:记录下一些关于测试工具NUNIT的链接资

【推荐阅读:.NET专家Richard Grimes

}}-->        }}-->call msgbox(msg, style, title) display error message

【扩展信息:如何使用vb6.0来实现中文实名搜索

}}-->        }}-->exit sub exit this program

}}-->    }}-->end if

}}-->    

}}-->

}}-->    }}--> get the selection manager

}}-->    }}-->set selmgr = model.selectionmanager

}}-->    

}}-->

}}-->    }}--> get the selected object (first in the group if there are more than one)

}}-->    }}--> note that at this point curfeature is just a feature object

}}-->    }}-->set curfeature = selmgr.getselectedobject3(1)

}}-->    }}-->if curfeature is nothing then

}}-->        }}--> tell the user that nothing is selected

}}-->        }}-->swapp.sendmsgtouser2 "please select the base-extrude", swmbwarning, swmbok


...   下一页
    摘要: 当我们的软件需要各种饼状图和柱状图来表示数据时,我们或许会想到用offices中的图形控件或是第三方控件,但现在的第三方控件大都需要注册,有些免费的控件会有开发商的标记等。而对于使用offices的图形控件来说,并不能在程序中得于很好控制,其使用的简易程度也较低,所以在这我给出在c#中使用gdi+实现饼状图和柱状图跟数据库联接显示数据的方法。using system; using system.......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE