手机版

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文档下载到电脑,方便复制、编辑、收藏和打印
×
二维码
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)