Inventor二次开发入门(2)
发布时间:2021-06-06
发布时间:2021-06-06
课程1:开始接触InventorAPI,用写一个最简单的插件,实现选择集的隐藏
在本课中,你将开始写一个使用Autodesk Inventor API基于隐藏所选组件的应用程序。
演示视频(英文)
演示代码
lesson1_vb-net.zip (zip - 49Kb)
lesson1_c-sharp.zip (zip - 73Kb)
根据步骤来创建你的第一个插件
1. Launch the Visual Basic Express development environment:
Open Visual Basic 2010 Express using the Windows Start menu, selecting All
Programs, then Microsoft Visual Studio 2010 Express, and then Microsoft
Visual Basic 2010 Express. Note: You can also use Visual Basic 2008 Express
with this guide. Projects for both 2010 and 2008 are provided.
2. Open a class library project:
Inside Visual Basic Express, on the File menu, click Open Project. Navigate to
the subfolder of the supporting material you downloaded at the top of this guide
called lesson1_VisualExpress2010 and open the project contained within it by selecting the project file MyFirstInventorPlugin_Lesson1.vbproj.
3. Open the code:
In the open project you will see a form with one button (if you don’t see the Form, click on Form1.vb in the Solution Explorer frame in the upper right hand side).
Right click on Form1 in the Solution Explorer and select View Code or just
double click on the Form.
上一篇:雅思口语练习经典素材集锦
下一篇:肾脏移植患者用药的护理管理