C# Revit二次开发基础/核心编程---开发环境配置

本文详细介绍了C#进行Revit二次开发的环境配置步骤,包括安装Revit、VS2015及更新、Revit API,以及如何设置AddInManager和RevitLookup。同时,讲解了创建'Hello World'插件的过程,从新建项目、添加引用到编写代码和调试。
摘要由CSDN通过智能技术生成

一、本节课程
C# Revit二次开发基础/核心编程---开发环境配置

二、本节要讲解的知识点

如何配置Revit二次开发的环境,创建Hello World应用程序

  • 具体内容
  1. 安装Revit 2018:  AUTODESK官方网站,下载。https://www.autodesk.com.cn/products/revit/free-trial
  2. 安装VS2015及其更新:从微软的官方网站,下载。

https://visualstudio.microsoft.com/zh-hans/vs/older-downloads/

VS的更新 http://download.microsoft.com/download/9/4/f/94f9f500-fe47-4a4e-be00-85350e2cf87a/vs2015.3%20rc.exe

  1. Autodesk官方的Revit API下载:

https://www.autodesk.com/developer-network/platform-technologies/revit

2018版本的更新一点SDK

http://download.autodesk.com/us/revit-sdk/REVIT_2018_2_SDK.msi

 DocumentationLearn more about Revit's .NET API through Revit's API

The SDK is included in every Revit product. There are two ways to install the Revit SDK:

  • From the main page of the Revit installer, click “Install Tools and Utilities” and choose “Revit Software Development Kit”.
  • Alternatively, you can also find the SDK in the extraction folder, under: <extraction folder>\support\SDK\RevitSDK.exe

You can also download the updated Revit SDK here:

The Revit LookUp Tool can help debug the Revit Database and understand the elements and its parameters. The source code can be found at our GitHub repository.

https://github.com/jeremytammik/RevitLookup

 

4revit2018的addinmanager安装

Revit二次开发 _AddInManager 安装步骤:

1已装Revit2018

2安装Revit SDK2018

3打开SDK2018 文件夹中的 Add-In Manager,找到 Autodesk.AddInManager.addin 文件,然后复制该文件到Revit 2018安装文件Addins中。

 

  需要将.addin文件放置到C:\ProgramData\Autodesk\Revit\Addins\2018,这是一个隐藏文件夹,如果没有显示的话可以使用文件夹选项的“设置”将隐藏文件夹显示。

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值