Inventor二次开发入门(2)

发布时间: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.

Inventor二次开发入门(2).doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219